projects
/
platform
/
kernel
/
linux-arm64.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6bbdc39
)
staging: usbip: Remove double initialization of msg_namelen variable
author
Sankha Narayan Guria
<sankha93@gmail.com>
Mon, 16 Dec 2013 06:25:43 +0000
(11:55 +0530)
committer
Jiri Kosina
<jkosina@suse.cz>
Mon, 16 Dec 2013 12:20:39 +0000
(13:20 +0100)
This removes the double initialization of the msg_namelen variable.
Signed-off-by: Sankha Narayan Guria <sankha93@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/staging/usbip/usbip_common.c
patch
|
blob
|
history
diff --git
a/drivers/staging/usbip/usbip_common.c
b/drivers/staging/usbip/usbip_common.c
index
e3fc749
..
e2bffec
100644
(file)
--- a/
drivers/staging/usbip/usbip_common.c
+++ b/
drivers/staging/usbip/usbip_common.c
@@
-366,7
+366,6
@@
int usbip_recv(struct socket *sock, void *buf, int size)
msg.msg_namelen = 0;
msg.msg_control = NULL;
msg.msg_controllen = 0;
- msg.msg_namelen = 0;
msg.msg_flags = MSG_NOSIGNAL;
result = kernel_recvmsg(sock, &msg, &iov, 1, size, MSG_WAITALL);