Staging: keucr: fix compiler warning
authorGreg Kroah-Hartman <gregkh@suse.de>
Thu, 30 Sep 2010 11:34:26 +0000 (04:34 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 30 Sep 2010 11:34:26 +0000 (04:34 -0700)
Now that we aren't using the rc_lock variable, delete it to keep gcc
happy and not complaining about it.

Cc: Al Cho <acho@novell.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/keucr/transport.c

index 445a62ce693197d06fe79c4ad37f2f83a45fbb48..469702176ccc8a97e75461070076c1081ced65cd 100644 (file)
@@ -760,7 +760,7 @@ int usb_stor_Bulk_reset(struct us_data *us)
 //----- usb_stor_port_reset() ---------------------
 int usb_stor_port_reset(struct us_data *us)
 {
-       int result, rc_lock;
+       int result;
 
        //printk("transport --- usb_stor_port_reset\n");
        result = usb_lock_device_for_reset(us->pusb_dev, us->pusb_intf);