diff options
author | glebius <glebius@FreeBSD.org> | 2005-03-14 20:49:48 +0000 |
---|---|---|
committer | glebius <glebius@FreeBSD.org> | 2005-03-14 20:49:48 +0000 |
commit | 0e5171dc2adb6a114b16c753e145a8d1c74dc1e7 (patch) | |
tree | 16aed6970310f62b0261d8d3fdbbaf2e4a36b6af /sys/netgraph/ng_pppoe.c | |
parent | 525bb39422176ae38b4696e11052c232cc780e55 (diff) | |
download | FreeBSD-src-0e5171dc2adb6a114b16c753e145a8d1c74dc1e7.zip FreeBSD-src-0e5171dc2adb6a114b16c753e145a8d1c74dc1e7.tar.gz |
Remove ng_connect_t where it is unused. Probably it remained from ng_source.c.
Diffstat (limited to 'sys/netgraph/ng_pppoe.c')
-rw-r--r-- | sys/netgraph/ng_pppoe.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/sys/netgraph/ng_pppoe.c b/sys/netgraph/ng_pppoe.c index 5cd81f0..82f995a 100644 --- a/sys/netgraph/ng_pppoe.c +++ b/sys/netgraph/ng_pppoe.c @@ -79,7 +79,6 @@ static ng_constructor_t ng_pppoe_constructor; static ng_rcvmsg_t ng_pppoe_rcvmsg; static ng_shutdown_t ng_pppoe_shutdown; static ng_newhook_t ng_pppoe_newhook; -static ng_connect_t ng_pppoe_connect; static ng_rcvdata_t ng_pppoe_rcvdata; static ng_disconnect_t ng_pppoe_disconnect; @@ -175,7 +174,6 @@ static struct ng_type typestruct = { .rcvmsg = ng_pppoe_rcvmsg, .shutdown = ng_pppoe_shutdown, .newhook = ng_pppoe_newhook, - .connect = ng_pppoe_connect, .rcvdata = ng_pppoe_rcvdata, .disconnect = ng_pppoe_disconnect, .cmdlist = ng_pppoe_cmds, @@ -1552,17 +1550,6 @@ ng_pppoe_shutdown(node_p node) } /* - * This is called once we've already connected a new hook to the other node. - * It gives us a chance to balk at the last minute. - */ -static int -ng_pppoe_connect(hook_p hook) -{ - /* be really amiable and just say "YUP that's OK by me! " */ - return (0); -} - -/* * Hook disconnection * * Clean up all dangling links and information about the session/hook. |