Skip to content
Commit 5a36b68b authored by Dan Carpenter's avatar Dan Carpenter Committed by David S. Miller
Browse files

usbnet: smsc95xx: silence an uninitialized variable warning



If the call to fn() fails then "buf" is uninitialized.  Just return the
error code in that case.

Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 58ef6a3f
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