Remove definition of the unimplemented "control" hook.

This commit is contained in:
Archie Cobbs 2000-01-21 01:39:40 +00:00
parent 06b47306d1
commit 22b6e04be8
10 changed files with 6 additions and 16 deletions

View file

@ -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;

View file

@ -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_ */

View file

@ -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;

View file

@ -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;

View file

@ -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_ */

View file

@ -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;

View file

@ -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;

View file

@ -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_ */

View file

@ -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;

View file

@ -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_ */