mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Remove definition of the unimplemented "control" hook.
This commit is contained in:
parent
06b47306d1
commit
22b6e04be8
10 changed files with 6 additions and 16 deletions
|
|
@ -2169,11 +2169,10 @@ ngar_constructor(node_p *nodep)
|
|||
/*
|
||||
* give our ok for a hook to be added...
|
||||
* If we are not running this should kick the device into life.
|
||||
* We allow hooks called "control" and dlci[1-1023]
|
||||
* The hook's private info points to our stash of info about that
|
||||
* channel.
|
||||
*/
|
||||
static int
|
||||
static int
|
||||
ngar_newhook(node_p node, hook_p hook, const char *name)
|
||||
{
|
||||
struct ar_softc * sc = node->private;
|
||||
|
|
|
|||
|
|
@ -16,7 +16,6 @@
|
|||
|
||||
/* Netgraph hooks */
|
||||
#define NG_AR_HOOK_DEBUG "debug"
|
||||
#define NG_AR_HOOK_CONTROL "control"
|
||||
#define NG_AR_HOOK_RAW "rawdata"
|
||||
|
||||
#endif /* _I386_ISA_IF_AR_H_ */
|
||||
|
|
|
|||
|
|
@ -2169,11 +2169,10 @@ ngar_constructor(node_p *nodep)
|
|||
/*
|
||||
* give our ok for a hook to be added...
|
||||
* If we are not running this should kick the device into life.
|
||||
* We allow hooks called "control" and dlci[1-1023]
|
||||
* The hook's private info points to our stash of info about that
|
||||
* channel.
|
||||
*/
|
||||
static int
|
||||
static int
|
||||
ngar_newhook(node_p node, hook_p hook, const char *name)
|
||||
{
|
||||
struct ar_softc * sc = node->private;
|
||||
|
|
|
|||
|
|
@ -3329,11 +3329,10 @@ ngsr_constructor(node_p *nodep)
|
|||
/*
|
||||
* give our ok for a hook to be added...
|
||||
* If we are not running this should kick the device into life.
|
||||
* We allow hooks called "control" and dlci[1-1023]
|
||||
* The hook's private info points to our stash of info about that
|
||||
* channel.
|
||||
*/
|
||||
static int
|
||||
static int
|
||||
ngsr_newhook(node_p node, hook_p hook, const char *name)
|
||||
{
|
||||
struct sr_softc * sc = node->private;
|
||||
|
|
|
|||
|
|
@ -16,7 +16,6 @@
|
|||
|
||||
/* Netgraph hooks */
|
||||
#define NG_SR_HOOK_DEBUG "debug"
|
||||
#define NG_SR_HOOK_CONTROL "control"
|
||||
#define NG_SR_HOOK_RAW "rawdata"
|
||||
|
||||
#endif /* _I386_ISA_IF_SR_H_ */
|
||||
|
|
|
|||
|
|
@ -3329,11 +3329,10 @@ ngsr_constructor(node_p *nodep)
|
|||
/*
|
||||
* give our ok for a hook to be added...
|
||||
* If we are not running this should kick the device into life.
|
||||
* We allow hooks called "control" and dlci[1-1023]
|
||||
* The hook's private info points to our stash of info about that
|
||||
* channel.
|
||||
*/
|
||||
static int
|
||||
static int
|
||||
ngsr_newhook(node_p node, hook_p hook, const char *name)
|
||||
{
|
||||
struct sr_softc * sc = node->private;
|
||||
|
|
|
|||
|
|
@ -2169,11 +2169,10 @@ ngar_constructor(node_p *nodep)
|
|||
/*
|
||||
* give our ok for a hook to be added...
|
||||
* If we are not running this should kick the device into life.
|
||||
* We allow hooks called "control" and dlci[1-1023]
|
||||
* The hook's private info points to our stash of info about that
|
||||
* channel.
|
||||
*/
|
||||
static int
|
||||
static int
|
||||
ngar_newhook(node_p node, hook_p hook, const char *name)
|
||||
{
|
||||
struct ar_softc * sc = node->private;
|
||||
|
|
|
|||
|
|
@ -16,7 +16,6 @@
|
|||
|
||||
/* Netgraph hooks */
|
||||
#define NG_AR_HOOK_DEBUG "debug"
|
||||
#define NG_AR_HOOK_CONTROL "control"
|
||||
#define NG_AR_HOOK_RAW "rawdata"
|
||||
|
||||
#endif /* _I386_ISA_IF_AR_H_ */
|
||||
|
|
|
|||
|
|
@ -3329,11 +3329,10 @@ ngsr_constructor(node_p *nodep)
|
|||
/*
|
||||
* give our ok for a hook to be added...
|
||||
* If we are not running this should kick the device into life.
|
||||
* We allow hooks called "control" and dlci[1-1023]
|
||||
* The hook's private info points to our stash of info about that
|
||||
* channel.
|
||||
*/
|
||||
static int
|
||||
static int
|
||||
ngsr_newhook(node_p node, hook_p hook, const char *name)
|
||||
{
|
||||
struct sr_softc * sc = node->private;
|
||||
|
|
|
|||
|
|
@ -16,7 +16,6 @@
|
|||
|
||||
/* Netgraph hooks */
|
||||
#define NG_SR_HOOK_DEBUG "debug"
|
||||
#define NG_SR_HOOK_CONTROL "control"
|
||||
#define NG_SR_HOOK_RAW "rawdata"
|
||||
|
||||
#endif /* _I386_ISA_IF_SR_H_ */
|
||||
|
|
|
|||
Loading…
Reference in a new issue