summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Unangst <tedu@cvs.openbsd.org>2003-08-17 22:59:43 +0000
committerTed Unangst <tedu@cvs.openbsd.org>2003-08-17 22:59:43 +0000
commitdc27df818fe27943bcbf077a003e89b80efd1746 (patch)
tree81572e3ee150566acf6f01318659f1ec0334e935
parentef982a68fdc504bfa241d5a4396dc77160d367ff (diff)
unused var
-rw-r--r--sys/kern/uipc_usrreq.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/kern/uipc_usrreq.c b/sys/kern/uipc_usrreq.c
index fa622c38305..7ac3a42729c 100644
--- a/sys/kern/uipc_usrreq.c
+++ b/sys/kern/uipc_usrreq.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uipc_usrreq.c,v 1.23 2003/06/02 23:28:07 millert Exp $ */
+/* $OpenBSD: uipc_usrreq.c,v 1.24 2003/08/17 22:59:42 tedu Exp $ */
/* $NetBSD: uipc_usrreq.c,v 1.18 1996/02/09 19:00:50 christos Exp $ */
/*
@@ -739,7 +739,6 @@ unp_internalize(control, p)
struct cmsghdr *cm = mtod(control, struct cmsghdr *);
struct file **rp, *fp;
int i, error;
- struct mbuf *n = NULL;
int nfds, *ip, fd, neededspace;
if (cm->cmsg_type != SCM_RIGHTS || cm->cmsg_level != SOL_SOCKET ||
@@ -801,8 +800,6 @@ fail:
fp->f_msgcount--;
unp_rights--;
}
- if (n)
- m_freem(n);
return (error);
}