aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb')
-rw-r--r--drivers/usb/image/microtek.c2
-rw-r--r--drivers/usb/input/hid-core.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/image/microtek.c b/drivers/usb/image/microtek.c
index 28538db9eaf3..2a0e18a48748 100644
--- a/drivers/usb/image/microtek.c
+++ b/drivers/usb/image/microtek.c
@@ -360,7 +360,7 @@ static int mts_scsi_host_reset (Scsi_Cmnd *srb)
360 rc = usb_lock_device_for_reset(desc->usb_dev, desc->usb_intf); 360 rc = usb_lock_device_for_reset(desc->usb_dev, desc->usb_intf);
361 if (rc < 0) 361 if (rc < 0)
362 return FAILED; 362 return FAILED;
363 result = usb_reset_device(desc->usb_dev);; 363 result = usb_reset_device(desc->usb_dev);
364 if (rc) 364 if (rc)
365 usb_unlock_device(desc->usb_dev); 365 usb_unlock_device(desc->usb_dev);
366 return result ? FAILED : SUCCESS; 366 return result ? FAILED : SUCCESS;
diff --git a/drivers/usb/input/hid-core.c b/drivers/usb/input/hid-core.c
index 58b59f6e9881..d4bf1701046b 100644
--- a/drivers/usb/input/hid-core.c
+++ b/drivers/usb/input/hid-core.c
@@ -1215,7 +1215,7 @@ static void hid_irq_out(struct urb *urb, struct pt_regs *regs)
1215 1215
1216 if (hid->outhead != hid->outtail) { 1216 if (hid->outhead != hid->outtail) {
1217 if (hid_submit_out(hid)) { 1217 if (hid_submit_out(hid)) {
1218 clear_bit(HID_OUT_RUNNING, &hid->iofl);; 1218 clear_bit(HID_OUT_RUNNING, &hid->iofl);
1219 wake_up(&hid->wait); 1219 wake_up(&hid->wait);
1220 } 1220 }
1221 spin_unlock_irqrestore(&hid->outlock, flags); 1221 spin_unlock_irqrestore(&hid->outlock, flags);