All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH]drivers/usb/core/sysfs.c:201 unused variable 'value'
@ 2009-12-29 23:49 René Bolldorf
  2009-12-30  0:01 ` Felipe Balbi
  0 siblings, 1 reply; 4+ messages in thread
From: René Bolldorf @ 2009-12-29 23:49 UTC (permalink / raw)
  To: Greg Kroah-Hartman; +Cc: linux-usb, linux-kernel

The variable 'value' is unused in 'set_reset_quirk()'.

Greetings René Bolldorf

--- ./drivers/usb/core/sysfs.c	2009-12-29 23:57:30.579982912 +0100
+++ ./drivers/usb/core/sysfs.c	2009-12-29 23:58:19.114982484 +0100
@@ -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;

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-12-30 12:17 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-29 23:49 [PATCH]drivers/usb/core/sysfs.c:201 unused variable 'value' René Bolldorf
2009-12-30  0:01 ` Felipe Balbi
2009-12-30 11:27   ` Sergei Shtylyov
2009-12-30 12:16     ` Felipe Balbi

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.