[patch] usb: remove unused variable

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Simon Horman <horms@xxxxxxxxxxxx>

--- 

[ repost as the subject got mangled the first time around ]

Index: gregkh-2.6/drivers/usb/core/sysfs.c
===================================================================
--- gregkh-2.6.orig/drivers/usb/core/sysfs.c	2009-12-23 19:32:41.000000000 +1100
+++ gregkh-2.6/drivers/usb/core/sysfs.c	2009-12-23 19:32:48.000000000 +1100
@@ -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;
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux