diff options
author | rwatson <rwatson@FreeBSD.org> | 2006-06-16 22:11:49 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2006-06-16 22:11:49 +0000 |
commit | 83e5d6bce100939c72969a374d73441eee5824fc (patch) | |
tree | 90b92db93e3c3751dc762ac8b3a58d4c7dfddcad | |
parent | 5094bdb85f034a27722d3ed00098c605789a1b7f (diff) | |
download | FreeBSD-src-83e5d6bce100939c72969a374d73441eee5824fc.zip FreeBSD-src-83e5d6bce100939c72969a374d73441eee5824fc.tar.gz |
Remove unused (and ifdef'd) unp_abort() and unp_drain().
MFC after: 1 month
-rw-r--r-- | sys/kern/uipc_usrreq.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/sys/kern/uipc_usrreq.c b/sys/kern/uipc_usrreq.c index f16d7b7..0931ca9 100644 --- a/sys/kern/uipc_usrreq.c +++ b/sys/kern/uipc_usrreq.c @@ -1039,16 +1039,6 @@ unp_disconnect(struct unpcb *unp) } } -#ifdef notdef -void -unp_abort(struct unpcb *unp) -{ - - unp_detach(unp); - UNP_UNLOCK_ASSERT(); -} -#endif - /* * unp_pcblist() assumes that UNIX domain socket memory is never reclaimed * by the zone (UMA_ZONE_NOFREE), and as such potentially stale pointers @@ -1190,14 +1180,6 @@ unp_drop(struct unpcb *unp, int errno) unp_disconnect(unp); } -#ifdef notdef -void -unp_drain(void) -{ - -} -#endif - static void unp_freerights(struct file **rp, int fdcount) { |