From: Greg Kroah-Hartman Date: Mon, 28 Aug 2006 18:43:25 +0000 (-0700) Subject: USB: fix __must_check warnings in drivers/usb/input/ X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=657b6717e7e7dc5620525a34f1561b563fd472fa;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git USB: fix __must_check warnings in drivers/usb/input/ Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/usb/input/yealink.c b/drivers/usb/input/yealink.c index 7b45fd3de911..7291e7a2717b 100644 --- a/drivers/usb/input/yealink.c +++ b/drivers/usb/input/yealink.c @@ -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; }