Skip to content

Commit

Permalink
USB: fix __must_check warnings in drivers/usb/class/
Browse files Browse the repository at this point in the history
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Greg Kroah-Hartman committed Sep 27, 2006
1 parent e7ccdfe commit 96cede5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion drivers/usb/class/usblp.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 96cede5

Please sign in to comment.