Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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);