mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-20 11:13:58 +08:00
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>
This commit is contained in:
parent
8d8be8389f
commit
af3d7c1e55
@ -1304,7 +1304,7 @@ static int smsc95xx_resume(struct usb_interface *intf)
|
||||
check_warn_return(ret, "Error writing PM_CTRL");
|
||||
}
|
||||
|
||||
return usbnet_resume(intf);
|
||||
ret = usbnet_resume(intf);
|
||||
check_warn_return(ret, "usbnet_resume error");
|
||||
|
||||
return 0;
|
||||
|
Loading…
Reference in New Issue
Block a user