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

Skip to content
Commit 79593410 authored by Rohith Kollalsi's avatar Rohith Kollalsi
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 d16f8f0f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment