diff options
Diffstat (limited to 'drivers/usb/input/usbmouse.c')
-rw-r--r-- | drivers/usb/input/usbmouse.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/usb/input/usbmouse.c b/drivers/usb/input/usbmouse.c index 0fb792be95ef..cbbbea332ed7 100644 --- a/drivers/usb/input/usbmouse.c +++ b/drivers/usb/input/usbmouse.c | |||
@@ -55,7 +55,7 @@ struct usb_mouse { | |||
55 | dma_addr_t data_dma; | 55 | dma_addr_t data_dma; |
56 | }; | 56 | }; |
57 | 57 | ||
58 | static void usb_mouse_irq(struct urb *urb, struct pt_regs *regs) | 58 | static void usb_mouse_irq(struct urb *urb) |
59 | { | 59 | { |
60 | struct usb_mouse *mouse = urb->context; | 60 | struct usb_mouse *mouse = urb->context; |
61 | signed char *data = mouse->data; | 61 | signed char *data = mouse->data; |
@@ -74,8 +74,6 @@ static void usb_mouse_irq(struct urb *urb, struct pt_regs *regs) | |||
74 | goto resubmit; | 74 | goto resubmit; |
75 | } | 75 | } |
76 | 76 | ||
77 | input_regs(dev, regs); | ||
78 | |||
79 | input_report_key(dev, BTN_LEFT, data[0] & 0x01); | 77 | input_report_key(dev, BTN_LEFT, data[0] & 0x01); |
80 | input_report_key(dev, BTN_RIGHT, data[0] & 0x02); | 78 | input_report_key(dev, BTN_RIGHT, data[0] & 0x02); |
81 | input_report_key(dev, BTN_MIDDLE, data[0] & 0x04); | 79 | input_report_key(dev, BTN_MIDDLE, data[0] & 0x04); |