aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSankha Narayan Guria <sankha93@gmail.com>2013-12-16 01:25:43 -0500
committerJiri Kosina <jkosina@suse.cz>2013-12-16 07:20:39 -0500
commitb481c2cb3534c85dca625973b33eba15f9af3e4c (patch)
tree044aa7e9317a2231978f9cebae1dc87d6bb70822
parent6bbdc3984efb22eab025addf86897fd5a4a9a4de (diff)
staging: usbip: Remove double initialization of msg_namelen variable
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>
-rw-r--r--drivers/staging/usbip/usbip_common.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/staging/usbip/usbip_common.c b/drivers/staging/usbip/usbip_common.c
index e3fc749c1e7e..e2bffece81d7 100644
--- 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)
366 msg.msg_namelen = 0; 366 msg.msg_namelen = 0;
367 msg.msg_control = NULL; 367 msg.msg_control = NULL;
368 msg.msg_controllen = 0; 368 msg.msg_controllen = 0;
369 msg.msg_namelen = 0;
370 msg.msg_flags = MSG_NOSIGNAL; 369 msg.msg_flags = MSG_NOSIGNAL;
371 370
372 result = kernel_recvmsg(sock, &msg, &iov, 1, size, MSG_WAITALL); 371 result = kernel_recvmsg(sock, &msg, &iov, 1, size, MSG_WAITALL);