mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Remove code that isn't required. It actually breaks the case where KDTRACE_HOOKS
is defined and KDB isn't. This is the case that it was intended for.
This commit is contained in:
parent
a0b454dc4b
commit
5d846378f7
1 changed files with 0 additions and 12 deletions
|
|
@ -106,15 +106,3 @@ init_dtrace(void *dummy __unused)
|
|||
}
|
||||
|
||||
SYSINIT(kdtrace, SI_SUB_KDTRACE, SI_ORDER_FIRST, init_dtrace, NULL);
|
||||
|
||||
#ifndef KDB
|
||||
/*
|
||||
* This is a stub for the kernel debugger for the DTrace actions to call
|
||||
* when the kernel has been built without KDB.
|
||||
*/
|
||||
void
|
||||
kdb_enter(const char *why, const char *msg)
|
||||
{
|
||||
printf("Cannot enter kernel debugger - No KDB in kernel.\n%s - %s\n", why, msg);
|
||||
}
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Reference in a new issue