usb: core: hub: fix unhandled return by employing a void function
commit 63d6d7ed475c53dc1cabdfedf63de1fd8dcd72ee upstream. Address below Coverity complaint (Feb 25, 2020, 8:06 AM CET):
This commit is contained in:
parent
cb05b3e1b1
commit
dc96ee7948
@ -1865,7 +1865,7 @@ static int hub_probe(struct usb_interface *intf, const struct usb_device_id *id)
|
||||
|
||||
if (id->driver_info & HUB_QUIRK_DISABLE_AUTOSUSPEND) {
|
||||
hub->quirk_disable_autosuspend = 1;
|
||||
usb_autopm_get_interface(intf);
|
||||
usb_autopm_get_interface_no_resume(intf);
|
||||
}
|
||||
|
||||
if (hub_configure(hub, &desc->endpoint[0].desc) >= 0)
|
||||
|
Loading…
x
Reference in New Issue
Block a user