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_eiface.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_eiface.c')
-rw-r--r-- | sys/netgraph/ng_eiface.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/sys/netgraph/ng_eiface.c b/sys/netgraph/ng_eiface.c index 8791a84..b1e687a 100644 --- a/sys/netgraph/ng_eiface.c +++ b/sys/netgraph/ng_eiface.c @@ -96,7 +96,6 @@ static ng_rcvmsg_t ng_eiface_rcvmsg; static ng_shutdown_t ng_eiface_rmnode; static ng_newhook_t ng_eiface_newhook; static ng_rcvdata_t ng_eiface_rcvdata; -static ng_connect_t ng_eiface_connect; static ng_disconnect_t ng_eiface_disconnect; /* Node type descriptor */ @@ -108,7 +107,6 @@ static struct ng_type typestruct = { .rcvmsg = ng_eiface_rcvmsg, .shutdown = ng_eiface_rmnode, .newhook = ng_eiface_newhook, - .connect = ng_eiface_connect, .rcvdata = ng_eiface_rcvdata, .disconnect = ng_eiface_disconnect, .cmdlist = ng_eiface_cmdlist @@ -559,18 +557,6 @@ ng_eiface_rmnode(node_p node) return (0); } - -/* - * 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_eiface_connect(hook_p hook) -{ - /* be really amiable and just say "YUP that's OK by me! " */ - return (0); -} - /* * Hook disconnection */ |