projects
/
deliverable
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8563650
)
usb: irda-usb free urb cleanup
author
Mariusz Kozlowski
<m.kozlowski@tuxland.pl>
Wed, 8 Nov 2006 14:35:38 +0000
(15:35 +0100)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Fri, 1 Dec 2006 22:23:33 +0000
(14:23 -0800)
- usb_free_urb() cleanup
Signed-off-by: Mariusz Kozlowski <m.kozlowski@tuxland.pl>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/net/irda/irda-usb.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/irda/irda-usb.c
b/drivers/net/irda/irda-usb.c
index 14bda765c2fa81a347d8e2da624f2353000b53c9..6e95645e72459b7aee4d06c39a532026f6565662 100644
(file)
--- a/
drivers/net/irda/irda-usb.c
+++ b/
drivers/net/irda/irda-usb.c
@@
-1793,10
+1793,8
@@
err_out_3:
err_out_2:
usb_free_urb(self->tx_urb);
err_out_1:
- for (i = 0; i < self->max_rx_urb; i++) {
- if (self->rx_urb[i])
- usb_free_urb(self->rx_urb[i]);
- }
+ for (i = 0; i < self->max_rx_urb; i++)
+ usb_free_urb(self->rx_urb[i]);
free_netdev(net);
err_out:
return ret;
This page took
0.025457 seconds
and
5
git commands to generate.