mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-18 09:44:18 +08:00
USB: fix __must_check warnings in drivers/usb/input/
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
96cede531c
commit
657b6717e7
@ -971,7 +971,7 @@ static int usb_probe(struct usb_interface *intf, const struct usb_device_id *id)
|
||||
DRIVER_VERSION, sizeof(DRIVER_VERSION));
|
||||
|
||||
/* Register sysfs hooks (don't care about failure) */
|
||||
sysfs_create_group(&intf->dev.kobj, &yld_attr_group);
|
||||
ret = sysfs_create_group(&intf->dev.kobj, &yld_attr_group);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user