summaryrefslogtreecommitdiffstats
path: root/sys/netgraph/ng_etf.c
diff options
context:
space:
mode:
authorglebius <glebius@FreeBSD.org>2005-03-14 20:49:48 +0000
committerglebius <glebius@FreeBSD.org>2005-03-14 20:49:48 +0000
commit0e5171dc2adb6a114b16c753e145a8d1c74dc1e7 (patch)
tree16aed6970310f62b0261d8d3fdbbaf2e4a36b6af /sys/netgraph/ng_etf.c
parent525bb39422176ae38b4696e11052c232cc780e55 (diff)
downloadFreeBSD-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_etf.c')
-rw-r--r--sys/netgraph/ng_etf.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/sys/netgraph/ng_etf.c b/sys/netgraph/ng_etf.c
index 5bc0f11..11a0d96 100644
--- a/sys/netgraph/ng_etf.c
+++ b/sys/netgraph/ng_etf.c
@@ -67,7 +67,6 @@ static ng_constructor_t ng_etf_constructor;
static ng_rcvmsg_t ng_etf_rcvmsg;
static ng_shutdown_t ng_etf_shutdown;
static ng_newhook_t ng_etf_newhook;
-static ng_connect_t ng_etf_connect;
static ng_rcvdata_t ng_etf_rcvdata; /* note these are both ng_rcvdata_t */
static ng_disconnect_t ng_etf_disconnect;
@@ -120,7 +119,6 @@ static struct ng_type typestruct = {
.rcvmsg = ng_etf_rcvmsg,
.shutdown = ng_etf_shutdown,
.newhook = ng_etf_newhook,
- .connect = ng_etf_connect,
.rcvdata = ng_etf_rcvdata,
.disconnect = ng_etf_disconnect,
.cmdlist = ng_etf_cmdlist,
@@ -447,16 +445,6 @@ ng_etf_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_etf_connect(hook_p hook)
-{
- return (0);
-}
-
-/*
* Hook disconnection
*
* For this type, removal of the last link destroys the node
OpenPOWER on IntegriCloud