summaryrefslogtreecommitdiff
path: root/sys/kern/uipc_socket.c
diff options
context:
space:
mode:
authorMike Belopuhov <mikeb@cvs.openbsd.org>2013-12-10 21:44:51 +0000
committerMike Belopuhov <mikeb@cvs.openbsd.org>2013-12-10 21:44:51 +0000
commitbfdb9a6cef7fd0fefa73dc90adf9eb3bf10f24ca (patch)
treeff09d1242cdba6ea2de095b75652ef1c0c85cbcd /sys/kern/uipc_socket.c
parent401aa9fd9ffda6cca63d3a32adc48c63d259c750 (diff)
dead assignment; from david hill, ok claudio
Diffstat (limited to 'sys/kern/uipc_socket.c')
-rw-r--r--sys/kern/uipc_socket.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/kern/uipc_socket.c b/sys/kern/uipc_socket.c
index 64d9d9c734c..ae9e88c471c 100644
--- a/sys/kern/uipc_socket.c
+++ b/sys/kern/uipc_socket.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uipc_socket.c,v 1.119 2013/08/27 03:32:11 deraadt Exp $ */
+/* $OpenBSD: uipc_socket.c,v 1.120 2013/12/10 21:44:50 mikeb Exp $ */
/* $NetBSD: uipc_socket.c,v 1.21 1996/02/04 02:17:52 christos Exp $ */
/*
@@ -489,9 +489,9 @@ restart:
MCLGET(m, M_NOWAIT);
if ((m->m_flags & M_EXT) == 0)
goto nopages;
- mlen = MCLBYTES;
if (atomic && top == 0) {
- len = lmin(MCLBYTES - max_hdr, resid);
+ len = lmin(MCLBYTES - max_hdr,
+ resid);
m->m_data += max_hdr;
} else
len = lmin(MCLBYTES, resid);