summaryrefslogtreecommitdiffstats
path: root/drivers/block/nbd.c
diff options
context:
space:
mode:
authortaneli.vahakangas@netsonic.fi <taneli.vahakangas@netsonic.fi>2006-01-08 10:03:02 +0100
committerLinus Torvalds <torvalds@g5.osdl.org>2006-01-09 05:13:54 +0100
commit9fa37fd1627ec804e57ae0388555719b03b39f20 (patch)
tree869e4b4d8feb2e3ce240fa32cfa549ab61115153 /drivers/block/nbd.c
parent[PATCH] Add block_device_operations.getgeo block device method (diff)
downloadlinux-9fa37fd1627ec804e57ae0388555719b03b39f20.tar.xz
linux-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/block/nbd.c')
-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)