diff options
author | taneli.vahakangas@netsonic.fi <taneli.vahakangas@netsonic.fi> | 2006-01-08 04:03:02 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-01-08 23:13:54 -0500 |
commit | 9fa37fd1627ec804e57ae0388555719b03b39f20 (patch) | |
tree | 869e4b4d8feb2e3ce240fa32cfa549ab61115153 /drivers/block/nbd.c | |
parent | a885c8c4316e1c1d2d2c8755da3f3d14f852528d (diff) |
[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.c | 1 |
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, | |||
174 | msg.msg_namelen = 0; | 174 | msg.msg_namelen = 0; |
175 | msg.msg_control = NULL; | 175 | msg.msg_control = NULL; |
176 | msg.msg_controllen = 0; | 176 | msg.msg_controllen = 0; |
177 | msg.msg_namelen = 0; | ||
178 | msg.msg_flags = msg_flags | MSG_NOSIGNAL; | 177 | msg.msg_flags = msg_flags | MSG_NOSIGNAL; |
179 | 178 | ||
180 | if (send) | 179 | if (send) |