drivers/usb/core/sysfs.c:201 unused variable 'value'
PATCH 1/1 drivers/usb/core/sysfs.c:201 unused variable 'value'
The variable 'value' is unused in 'set_reset_quirk()'.
Greetings René Bolldorf
drivers/usb/core/sysfs.c +1 -1
@@ -198,7 +198,7 @@ set_reset_quirk(struct device *dev, stru const char *buf, size_t count) {struct usb_device *udev =to_usb_device (dev); -int config, value; +int config;if (sscanf (buf,"%d" , &config) !=1 || config <0 || config >1 )return -EINVAL ;
Quoted 3 lines · René Bolldorf
The variable 'value' is unused in '
set_reset_quirk()'.Greetings René Bolldorf
I already sent a patch for that [1]
[1] http://marc.info/?l=linux-usb&m=126203765207545&w=2
Signature · 1 line
balbi
Hello.
Quoted 9 lines · Felipe Balbi
Quoted 4 lines
The variable 'value' is unused in '
set_reset_quirk()'.Greetings René Bolldorf
I already sent a patch for that [1]
And you weren't the first one:
http://marc.info/?l=linux-usb&m=126165643307894
WBR, Sergei
Quoted 9 lines · Sergei Shtylyov
Hello.
Quoted 5 lines · Felipe Balbi
Quoted 4 lines
The variable 'value' is unused in '
set_reset_quirk()'.Greetings René Bolldorf
Quoted 8 lines
Quoted 4 lines
I already sent a patch for that [1]
And you weren't the first one:
hah, beat me by a few days :-p
Signature · 1 line
balbi