diff options
author | Mariusz Kozlowski <m.kozlowski@tuxland.pl> | 2006-11-08 14:34:59 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-12-01 22:23:33 (GMT) |
commit | 14d2707b80d6a9d1e8e92718885f99b77531b339 (patch) | |
tree | 4931fa614bcc6c5ff67f32125cc4f2489ad70ee7 /drivers/media | |
parent | 90b2625a5159607e37871cd75370c189fc22d208 (diff) | |
download | linux-14d2707b80d6a9d1e8e92718885f99b77531b339.tar.xz |
usb: sn9c102_core free urb cleanup
- usb_free_urb() cleanup
Signed-off-by: Mariusz Kozlowski <m.kozlowski@tuxland.pl>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/media')
-rw-r--r-- | drivers/media/video/sn9c102/sn9c102_core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/sn9c102/sn9c102_core.c b/drivers/media/video/sn9c102/sn9c102_core.c index 42fb60d..18458d4 100644 --- a/drivers/media/video/sn9c102/sn9c102_core.c +++ b/drivers/media/video/sn9c102/sn9c102_core.c @@ -775,7 +775,7 @@ static int sn9c102_start_transfer(struct sn9c102_device* cam) return 0; free_urbs: - for (i = 0; (i < SN9C102_URBS) && cam->urb[i]; i++) + for (i = 0; i < SN9C102_URBS; i++) usb_free_urb(cam->urb[i]); free_buffers: |