Merge remote-tracking branch 'iommu/next'
[deliverable/linux.git] / drivers / media / usb / zr364xx / zr364xx.c
index 7433ba5c4bad8bdf044435977409856b54c9ff9b..cc128db85723c90d1619d774e55af6e747604a5b 100644 (file)
@@ -1045,10 +1045,8 @@ static int zr364xx_start_readpipe(struct zr364xx_camera *cam)
        pipe_info->state = 1;
        pipe_info->err_count = 0;
        pipe_info->stream_urb = usb_alloc_urb(0, GFP_KERNEL);
-       if (!pipe_info->stream_urb) {
-               dev_err(&cam->udev->dev, "ReadStream: Unable to alloc URB\n");
+       if (!pipe_info->stream_urb)
                return -ENOMEM;
-       }
        /* transfer buffer allocated in board_init */
        usb_fill_bulk_urb(pipe_info->stream_urb, cam->udev,
                          pipe,
This page took 0.02477 seconds and 5 git commands to generate.