diff options
Diffstat (limited to 'drivers/media/usb/pwc/pwc-if.c')
-rw-r--r-- | drivers/media/usb/pwc/pwc-if.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/media/usb/pwc/pwc-if.c b/drivers/media/usb/pwc/pwc-if.c index b5d0729c28d3..42e36bac4d72 100644 --- a/drivers/media/usb/pwc/pwc-if.c +++ b/drivers/media/usb/pwc/pwc-if.c | |||
@@ -994,7 +994,6 @@ static int usb_pwc_probe(struct usb_interface *intf, const struct usb_device_id | |||
994 | pdev->power_save = my_power_save; | 994 | pdev->power_save = my_power_save; |
995 | 995 | ||
996 | /* Init videobuf2 queue structure */ | 996 | /* Init videobuf2 queue structure */ |
997 | memset(&pdev->vb_queue, 0, sizeof(pdev->vb_queue)); | ||
998 | pdev->vb_queue.type = V4L2_BUF_TYPE_VIDEO_CAPTURE; | 997 | pdev->vb_queue.type = V4L2_BUF_TYPE_VIDEO_CAPTURE; |
999 | pdev->vb_queue.io_modes = VB2_MMAP | VB2_USERPTR | VB2_READ; | 998 | pdev->vb_queue.io_modes = VB2_MMAP | VB2_USERPTR | VB2_READ; |
1000 | pdev->vb_queue.drv_priv = pdev; | 999 | pdev->vb_queue.drv_priv = pdev; |