diff options
Diffstat (limited to 'drivers/input')
-rw-r--r-- | drivers/input/joystick/iforce/iforce-usb.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/input/joystick/iforce/iforce-usb.c b/drivers/input/joystick/iforce/iforce-usb.c index 105112fb7b57..80cdebcbcb99 100644 --- a/drivers/input/joystick/iforce/iforce-usb.c +++ b/drivers/input/joystick/iforce/iforce-usb.c | |||
@@ -178,9 +178,9 @@ static int iforce_usb_probe(struct usb_interface *intf, | |||
178 | 178 | ||
179 | fail: | 179 | fail: |
180 | if (iforce) { | 180 | if (iforce) { |
181 | if (iforce->irq) usb_free_urb(iforce->irq); | 181 | usb_free_urb(iforce->irq); |
182 | if (iforce->out) usb_free_urb(iforce->out); | 182 | usb_free_urb(iforce->out); |
183 | if (iforce->ctrl) usb_free_urb(iforce->ctrl); | 183 | usb_free_urb(iforce->ctrl); |
184 | kfree(iforce); | 184 | kfree(iforce); |
185 | } | 185 | } |
186 | 186 | ||