projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
459f836
)
usb: ati_remote2 free urb cleanup
author
Mariusz Kozlowski
<m.kozlowski@tuxland.pl>
Wed, 8 Nov 2006 14:35:50 +0000
(15:35 +0100)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Fri, 1 Dec 2006 22:23:33 +0000
(14:23 -0800)
Hello,
- usb_free_urb() cleanup
Signed-off-by: Mariusz Kozlowski <m.kozlowski@tuxland.pl>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/input/ati_remote2.c
patch
|
blob
|
history
diff --git
a/drivers/usb/input/ati_remote2.c
b/drivers/usb/input/ati_remote2.c
index f982a2b4a7f9a9ff5723f92797003846ce2db983..83f1f79db7c72b404f43115725f2c7a04b03f7c2 100644
(file)
--- a/
drivers/usb/input/ati_remote2.c
+++ b/
drivers/usb/input/ati_remote2.c
@@
-372,8
+372,7
@@
static void ati_remote2_urb_cleanup(struct ati_remote2 *ar2)
int i;
for (i = 0; i < 2; i++) {
- if (ar2->urb[i])
- usb_free_urb(ar2->urb[i]);
+ usb_free_urb(ar2->urb[i]);
if (ar2->buf[i])
usb_buffer_free(ar2->udev, 4, ar2->buf[i], ar2->buf_dma[i]);