summaryrefslogtreecommitdiffstats
path: root/sys/dev/sr/if_sr.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/sr/if_sr.c')
-rw-r--r--sys/dev/sr/if_sr.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/sr/if_sr.c b/sys/dev/sr/if_sr.c
index e9b0d08..c1348e3 100644
--- a/sys/dev/sr/if_sr.c
+++ b/sys/dev/sr/if_sr.c
@@ -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;
OpenPOWER on IntegriCloud