Browse Source

[media] media: usb: cx231xx: cx231xx-vbi: don't print error when allocating urb fails

kmalloc will print enough information in case of failure.

Signed-off-by: Wolfram Sang <wsa-dev@sang-engineering.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Wolfram Sang 9 years ago
parent
commit
95bc112d79
1 changed files with 0 additions and 2 deletions
  1. 0 2
      drivers/media/usb/cx231xx/cx231xx-vbi.c

+ 0 - 2
drivers/media/usb/cx231xx/cx231xx-vbi.c

@@ -442,8 +442,6 @@ int cx231xx_init_vbi_isoc(struct cx231xx *dev, int max_packets,
 
 		urb = usb_alloc_urb(0, GFP_KERNEL);
 		if (!urb) {
-			dev_err(dev->dev,
-				"cannot alloc bulk_ctl.urb %i\n", i);
 			cx231xx_uninit_vbi_isoc(dev);
 			return -ENOMEM;
 		}