Commit b481c2cb authored by Sankha Narayan Guria's avatar Sankha Narayan Guria Committed by Jiri Kosina

staging: usbip: Remove double initialization of msg_namelen variable

This removes the double initialization of the msg_namelen variable.
Signed-off-by: default avatarSankha Narayan Guria <sankha93@gmail.com>
Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
parent 6bbdc398
......@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment