lkml.org 
[lkml]   [2013]   [Dec]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Date
Subject[PATCH] 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>

--- linux/drivers/staging/usbip/usbip_common.c.orig 2013-12-16
11:24:32.930512781 +0530
+++ linux/drivers/staging/usbip/usbip_common.c 2013-12-16
11:25:03.190513334 +0530
@@ -366,7 +366,6 @@ int usbip_recv(struct socket *sock, void
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);

\
 
 \ /
  Last update: 2013-12-16 07:41    [W:0.189 / U:0.056 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site