smsc95xx: fix error checking of usbnet_resume
authorSteve Glendinning <steve.glendinning@shawell.net>
Thu, 22 Nov 2012 08:05:22 +0000 (08:05 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 23 Nov 2012 19:15:16 +0000 (14:15 -0500)
commitaf3d7c1e55a6c3ce92ac86d5e1a3b606028c0145
tree11f189c344fda7693d1121cf9fac1fb5af582c7d
parent8d8be8389f1818b07505bbf2ec3fb2d556d84496
smsc95xx: fix error checking of usbnet_resume

without this patch the two lines below won't ever execute

Signed-off-by: Steve Glendinning <steve.glendinning@shawell.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/smsc95xx.c