Commit af3d7c1e authored by Steve Glendinning's avatar Steve Glendinning Committed by David S. Miller

smsc95xx: fix error checking of usbnet_resume

without this patch the two lines below won't ever execute
Signed-off-by: default avatarSteve Glendinning <steve.glendinning@shawell.net>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 8d8be838
...@@ -1304,7 +1304,7 @@ static int smsc95xx_resume(struct usb_interface *intf) ...@@ -1304,7 +1304,7 @@ static int smsc95xx_resume(struct usb_interface *intf)
check_warn_return(ret, "Error writing PM_CTRL"); check_warn_return(ret, "Error writing PM_CTRL");
} }
return usbnet_resume(intf); ret = usbnet_resume(intf);
check_warn_return(ret, "usbnet_resume error"); check_warn_return(ret, "usbnet_resume error");
return 0; return 0;
......
Markdown is supported
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