summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authortaneli.vahakangas@netsonic.fi <taneli.vahakangas@netsonic.fi>2006-01-08 01:03:02 -0800
committerLinus Torvalds <torvalds@g5.osdl.org>2006-01-08 20:13:54 -0800
commit9fa37fd1627ec804e57ae0388555719b03b39f20 (patch)
tree869e4b4d8feb2e3ce240fa32cfa549ab61115153 /drivers
parenta885c8c4316e1c1d2d2c8755da3f3d14f852528d (diff)
downloadlinux-stable-9fa37fd1627ec804e57ae0388555719b03b39f20.tar.gz
linux-stable-9fa37fd1627ec804e57ae0388555719b03b39f20.tar.bz2
linux-stable-9fa37fd1627ec804e57ae0388555719b03b39f20.zip
[PATCH] nbd: remove duplicate assignment
<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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/block/nbd.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/block/nbd.c b/drivers/block/nbd.c
index 33d6f237b2ed..6997d8e6bfb5 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)