Commit 96cede53 authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

USB: fix __must_check warnings in drivers/usb/class/

Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent e7ccdfec
...@@ -927,7 +927,9 @@ static int usblp_probe(struct usb_interface *intf, ...@@ -927,7 +927,9 @@ static int usblp_probe(struct usb_interface *intf,
/* Retrieve and store the device ID string. */ /* Retrieve and store the device ID string. */
usblp_cache_device_id_string(usblp); 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 #ifdef DEBUG
usblp_check_status(usblp, 0); usblp_check_status(usblp, 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