commit | 5a36b68b670ebdf19eaedd4f859810293a3d1dc1 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Wed May 04 09:22:01 2016 +0300 |
committer | David S. Miller <davem@davemloft.net> | Wed May 04 16:58:57 2016 -0400 |
tree | ae51cb54e4e31140a1e546a4de36badf39c97ef2 | |
parent | 58ef6a3f64bd837e107a2bbf0571574850a32b8c [diff] |
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: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: David S. Miller <davem@davemloft.net>