diff options
Diffstat (limited to 'drivers/usb/storage')
-rw-r--r-- | drivers/usb/storage/onetouch.c | 3 | ||||
-rw-r--r-- | drivers/usb/storage/transport.c | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/drivers/usb/storage/onetouch.c b/drivers/usb/storage/onetouch.c index f843a0bcf10..3baf448e300 100644 --- a/drivers/usb/storage/onetouch.c +++ b/drivers/usb/storage/onetouch.c | |||
@@ -53,7 +53,7 @@ struct usb_onetouch { | |||
53 | unsigned int is_open:1; | 53 | unsigned int is_open:1; |
54 | }; | 54 | }; |
55 | 55 | ||
56 | static void usb_onetouch_irq(struct urb *urb, struct pt_regs *regs) | 56 | static void usb_onetouch_irq(struct urb *urb) |
57 | { | 57 | { |
58 | struct usb_onetouch *onetouch = urb->context; | 58 | struct usb_onetouch *onetouch = urb->context; |
59 | signed char *data = onetouch->data; | 59 | signed char *data = onetouch->data; |
@@ -72,7 +72,6 @@ static void usb_onetouch_irq(struct urb *urb, struct pt_regs *regs) | |||
72 | goto resubmit; | 72 | goto resubmit; |
73 | } | 73 | } |
74 | 74 | ||
75 | input_regs(dev, regs); | ||
76 | input_report_key(dev, ONETOUCH_BUTTON, data[0] & 0x02); | 75 | input_report_key(dev, ONETOUCH_BUTTON, data[0] & 0x02); |
77 | input_sync(dev); | 76 | input_sync(dev); |
78 | 77 | ||
diff --git a/drivers/usb/storage/transport.c b/drivers/usb/storage/transport.c index f23514c4e64..47644b5b615 100644 --- a/drivers/usb/storage/transport.c +++ b/drivers/usb/storage/transport.c | |||
@@ -108,7 +108,7 @@ | |||
108 | /* This is the completion handler which will wake us up when an URB | 108 | /* This is the completion handler which will wake us up when an URB |
109 | * completes. | 109 | * completes. |
110 | */ | 110 | */ |
111 | static void usb_stor_blocking_completion(struct urb *urb, struct pt_regs *regs) | 111 | static void usb_stor_blocking_completion(struct urb *urb) |
112 | { | 112 | { |
113 | struct completion *urb_done_ptr = (struct completion *)urb->context; | 113 | struct completion *urb_done_ptr = (struct completion *)urb->context; |
114 | 114 | ||