diff options
author | phk <phk@FreeBSD.org> | 1998-10-25 17:44:59 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 1998-10-25 17:44:59 +0000 |
commit | 13c66194f4b66073c693cdb830b5091d9d735e17 (patch) | |
tree | 6fad3c4a8f13b0ab244bebf9795bb095be5ee8d7 /sys/netnatm | |
parent | b17bde009a29901e8647e3d0c680a716f3526a2d (diff) | |
download | FreeBSD-src-13c66194f4b66073c693cdb830b5091d9d735e17.zip FreeBSD-src-13c66194f4b66073c693cdb830b5091d9d735e17.tar.gz |
Nitpicking and dusting performed on a train. Removes trivial warnings
about unused variables, labels and other lint.
Diffstat (limited to 'sys/netnatm')
-rw-r--r-- | sys/netnatm/natm.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/sys/netnatm/natm.c b/sys/netnatm/natm.c index 8bc971d..c3ebc08a 100644 --- a/sys/netnatm/natm.c +++ b/sys/netnatm/natm.c @@ -144,7 +144,6 @@ natm_usr_connect(struct socket *so, struct sockaddr *nam, struct proc *p) struct natmpcb *npcb; struct sockaddr_natm *snatm; struct atm_pseudoioctl api; - struct atm_pseudohdr *aph; struct ifnet *ifp; int error = 0; int s2, s = SPLSOFTNET(); @@ -226,13 +225,10 @@ static int natm_usr_disconnect(struct socket *so) { struct natmpcb *npcb; - struct sockaddr_natm *snatm; struct atm_pseudoioctl api; - struct atm_pseudohdr *aph; struct ifnet *ifp; int error = 0; int s2, s = SPLSOFTNET(); - int proto = so->so_proto->pr_protocol; npcb = (struct natmpcb *) so->so_pcb; if (npcb == NULL) { |