summaryrefslogtreecommitdiff
path: root/drivers/media/video/zc0301/zc0301_core.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/video/zc0301/zc0301_core.c')
-rw-r--r--drivers/media/video/zc0301/zc0301_core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/zc0301/zc0301_core.c b/drivers/media/video/zc0301/zc0301_core.c
index 5b5563424422..52d0f759ee00 100644
--- a/drivers/media/video/zc0301/zc0301_core.c
+++ b/drivers/media/video/zc0301/zc0301_core.c
@@ -489,7 +489,7 @@ static int zc0301_start_transfer(struct zc0301_device* cam)
return 0;
free_urbs:
- for (i = 0; (i < ZC0301_URBS) && cam->urb[i]; i++)
+ for (i = 0; i < ZC0301_URBS; i++)
usb_free_urb(cam->urb[i]);
free_buffers: