usbnet/smsc75xx: silence uninitialized variable warning
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 4 May 2016 06:21:02 +0000 (09:21 +0300)
committerDavid S. Miller <davem@davemloft.net>
Wed, 4 May 2016 20:58:56 +0000 (16:58 -0400)
commit58ef6a3f64bd837e107a2bbf0571574850a32b8c
tree786af91757a76e41fbe6554bef09f4602f856d31
parent614bdd4d6e61d260d82945f5f52a5dc288f64783
usbnet/smsc75xx: silence uninitialized variable warning

If the fn() calls fail then "buf" is uninitialized.  Just return early
in that situation.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/smsc75xx.c