]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[PATCH] nbd: remove duplicate assignment
authortaneli.vahakangas@netsonic.fi <taneli.vahakangas@netsonic.fi>
Sun, 8 Jan 2006 09:03:02 +0000 (01:03 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 9 Jan 2006 04:13:54 +0000 (20:13 -0800)
      <stuartm@connecttech.com>

Sent by Paul Clements <paul.clements@steeleye.com>, who needs to read
Documentation/SubmittingPatches..

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/block/nbd.c

index 33d6f237b2edc8fb4134413d55e58a7d5bb4d7ea..6997d8e6bfb5d70e9dfcc25d391be36ae2799a87 100644 (file)
@@ -174,7 +174,6 @@ static int sock_xmit(struct socket *sock, int send, void *buf, int size,
                msg.msg_namelen = 0;
                msg.msg_control = NULL;
                msg.msg_controllen = 0;
-               msg.msg_namelen = 0;
                msg.msg_flags = msg_flags | MSG_NOSIGNAL;
 
                if (send)