mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-14 09:25:12 +00:00
USB: fix __must_check warnings in drivers/usb/class/
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
e7ccdfec08
commit
96cede531c
@ -927,7 +927,9 @@ static int usblp_probe(struct usb_interface *intf,
|
||||
|
||||
/* Retrieve and store the device ID string. */
|
||||
usblp_cache_device_id_string(usblp);
|
||||
device_create_file(&intf->dev, &dev_attr_ieee1284_id);
|
||||
retval = device_create_file(&intf->dev, &dev_attr_ieee1284_id);
|
||||
if (retval)
|
||||
goto abort_intfdata;
|
||||
|
||||
#ifdef DEBUG
|
||||
usblp_check_status(usblp, 0);
|
||||
|
Loading…
x
Reference in New Issue
Block a user