From a200adb1c73e9ef24c6415b08fd4fd54e3ba1488 Mon Sep 17 00:00:00 2001 From: Greg Kroah-Hartman Date: Thu, 30 Sep 2010 04:34:26 -0700 Subject: [PATCH] Staging: keucr: fix compiler warning Now that we aren't using the rc_lock variable, delete it to keep gcc happy and not complaining about it. Cc: Al Cho Signed-off-by: Greg Kroah-Hartman --- drivers/staging/keucr/transport.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/keucr/transport.c b/drivers/staging/keucr/transport.c index 445a62ce6931..469702176ccc 100644 --- a/drivers/staging/keucr/transport.c +++ b/drivers/staging/keucr/transport.c @@ -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); -- 2.20.1