diff options
Diffstat (limited to 'drivers/usb/input/usbkbd.c')
-rw-r--r-- | drivers/usb/input/usbkbd.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/usb/input/usbkbd.c b/drivers/usb/input/usbkbd.c index 5067a6ae650f..c73285cf8558 100644 --- a/drivers/usb/input/usbkbd.c +++ b/drivers/usb/input/usbkbd.c | |||
@@ -80,7 +80,7 @@ struct usb_kbd { | |||
80 | dma_addr_t leds_dma; | 80 | dma_addr_t leds_dma; |
81 | }; | 81 | }; |
82 | 82 | ||
83 | static void usb_kbd_irq(struct urb *urb, struct pt_regs *regs) | 83 | static void usb_kbd_irq(struct urb *urb) |
84 | { | 84 | { |
85 | struct usb_kbd *kbd = urb->context; | 85 | struct usb_kbd *kbd = urb->context; |
86 | int i; | 86 | int i; |
@@ -97,8 +97,6 @@ static void usb_kbd_irq(struct urb *urb, struct pt_regs *regs) | |||
97 | goto resubmit; | 97 | goto resubmit; |
98 | } | 98 | } |
99 | 99 | ||
100 | input_regs(kbd->dev, regs); | ||
101 | |||
102 | for (i = 0; i < 8; i++) | 100 | for (i = 0; i < 8; i++) |
103 | input_report_key(kbd->dev, usb_kbd_keycode[i + 224], (kbd->new[0] >> i) & 1); | 101 | input_report_key(kbd->dev, usb_kbd_keycode[i + 224], (kbd->new[0] >> i) & 1); |
104 | 102 | ||
@@ -158,7 +156,7 @@ static int usb_kbd_event(struct input_dev *dev, unsigned int type, | |||
158 | return 0; | 156 | return 0; |
159 | } | 157 | } |
160 | 158 | ||
161 | static void usb_kbd_led(struct urb *urb, struct pt_regs *regs) | 159 | static void usb_kbd_led(struct urb *urb) |
162 | { | 160 | { |
163 | struct usb_kbd *kbd = urb->context; | 161 | struct usb_kbd *kbd = urb->context; |
164 | 162 | ||