|
@@ -1045,10 +1045,8 @@ static int zr364xx_start_readpipe(struct zr364xx_camera *cam)
|
|
pipe_info->state = 1;
|
|
pipe_info->state = 1;
|
|
pipe_info->err_count = 0;
|
|
pipe_info->err_count = 0;
|
|
pipe_info->stream_urb = usb_alloc_urb(0, GFP_KERNEL);
|
|
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;
|
|
return -ENOMEM;
|
|
- }
|
|
|
|
/* transfer buffer allocated in board_init */
|
|
/* transfer buffer allocated in board_init */
|
|
usb_fill_bulk_urb(pipe_info->stream_urb, cam->udev,
|
|
usb_fill_bulk_urb(pipe_info->stream_urb, cam->udev,
|
|
pipe,
|
|
pipe,
|