From: Sankha Narayan Guria Date: Mon, 16 Dec 2013 06:25:43 +0000 (+0530) Subject: staging: usbip: Remove double initialization of msg_namelen variable X-Git-Tag: accepted/tizen/common/20141203.182822~318^2~43 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b481c2cb3534c85dca625973b33eba15f9af3e4c;p=platform%2Fkernel%2Flinux-arm64.git 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 Signed-off-by: Jiri Kosina --- diff --git a/drivers/staging/usbip/usbip_common.c b/drivers/staging/usbip/usbip_common.c index e3fc749..e2bffec 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) 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);