summaryrefslogtreecommitdiffstats
path: root/sys/netipx/ipx_usrreq.c
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2005-01-03 12:54:31 +0000
committerrwatson <rwatson@FreeBSD.org>2005-01-03 12:54:31 +0000
commit6ea7cec670073503257352c3158d36f47bcf0feb (patch)
treef77d41b2757eb83cc13a5bbba40e9a0c0d638535 /sys/netipx/ipx_usrreq.c
parent25d6a6cbc3ce924f032581776f8a9ceaf9426bff (diff)
downloadFreeBSD-src-6ea7cec670073503257352c3158d36f47bcf0feb.zip
FreeBSD-src-6ea7cec670073503257352c3158d36f47bcf0feb.tar.gz
Garbage collect unused ipx_abort().
Spell NULL right in a KASSERT() panic message. MFC after: 1 week
Diffstat (limited to 'sys/netipx/ipx_usrreq.c')
-rw-r--r--sys/netipx/ipx_usrreq.c14
1 files changed, 2 insertions, 12 deletions
diff --git a/sys/netipx/ipx_usrreq.c b/sys/netipx/ipx_usrreq.c
index 88f36c4..5e5e4f4 100644
--- a/sys/netipx/ipx_usrreq.c
+++ b/sys/netipx/ipx_usrreq.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2004 Robert N. M. Watson
+ * Copyright (c) 2004-2005 Robert N. M. Watson
* Copyright (c) 1995, Mike Mitchell
* Copyright (c) 1984, 1985, 1986, 1987, 1993
* The Regents of the University of California. All rights reserved.
@@ -128,7 +128,7 @@ ipx_input(m, ipxp)
struct ifnet *ifp = m->m_pkthdr.rcvif;
struct sockaddr_ipx ipx_ipx;
- KASSERT(ipxp != NULL, ("ipx_input: NUL ipxpcb"));
+ KASSERT(ipxp != NULL, ("ipx_input: NULL ipxpcb"));
/*
* Construct sockaddr format source address.
* Stuff source address and datagram in user buffer.
@@ -163,16 +163,6 @@ ipx_input(m, ipxp)
sorwakeup(ipxp->ipxp_socket);
}
-void
-ipx_abort(ipxp)
- struct ipxpcb *ipxp;
-{
- struct socket *so = ipxp->ipxp_socket;
-
- ipx_pcbdisconnect(ipxp);
- soisdisconnected(so);
-}
-
/*
* Drop connection, reporting
* the specified error.
OpenPOWER on IntegriCloud