From: taneli.vahakangas@netsonic.fi Date: Sun, 8 Jan 2006 09:03:02 +0000 (-0800) Subject: [PATCH] nbd: remove duplicate assignment X-Git-Tag: v2.6.16-rc1~768 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=9fa37fd1627ec804e57ae0388555719b03b39f20;p=linux-2.6-omap-h63xx.git [PATCH] nbd: remove duplicate assignment Sent by Paul Clements , who needs to read Documentation/SubmittingPatches.. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/block/nbd.c b/drivers/block/nbd.c index 33d6f237b2e..6997d8e6bfb 100644 --- a/drivers/block/nbd.c +++ b/drivers/block/nbd.c @@ -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)