Commit 0c05078b authored by Rohith Kollalsi's avatar Rohith Kollalsi Committed by Gerrit - the friendly Code Review server
Browse files

net: usb: Initialize retval with zero as it might be used uninitialized



If at the start of usbnet_start_xmit function sk_buff is null then
there is a chance that retval could be used uninitialized. To avoid
such scenario initialize retval with zero.

Change-Id: I2d5b68075338f7d19b6bc76a4ce7cdbe422daadb
Signed-off-by: default avatarRohith Kollalsi <rkollals@codeaurora.org>
parent d081649d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment