diff options
author | Mike Belopuhov <mikeb@cvs.openbsd.org> | 2013-12-10 21:44:51 +0000 |
---|---|---|
committer | Mike Belopuhov <mikeb@cvs.openbsd.org> | 2013-12-10 21:44:51 +0000 |
commit | bfdb9a6cef7fd0fefa73dc90adf9eb3bf10f24ca (patch) | |
tree | ff09d1242cdba6ea2de095b75652ef1c0c85cbcd | |
parent | 401aa9fd9ffda6cca63d3a32adc48c63d259c750 (diff) |
dead assignment; from david hill, ok claudio
-rw-r--r-- | sys/kern/uipc_socket.c | 6 |
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); |