summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorWolfram Sang <wsa-dev@sang-engineering.com>2016-08-11 23:03:47 +0200
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2016-08-24 13:49:55 +0200
commit95bc112d795a2d118a2f08ce4034b19a60b62f3e (patch)
tree0b714d9df6f1139e00ef27459df929139f2c86d7 /drivers
parent[media] media: usb: cx231xx: cx231xx-core: don't print error when allocating ... (diff)
downloadlinux-95bc112d795a2d118a2f08ce4034b19a60b62f3e.tar.xz
linux-95bc112d795a2d118a2f08ce4034b19a60b62f3e.zip
[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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/media/usb/cx231xx/cx231xx-vbi.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/media/usb/cx231xx/cx231xx-vbi.c b/drivers/media/usb/cx231xx/cx231xx-vbi.c
index 15bb573b78ac..76e901920f6f 100644
--- a/drivers/media/usb/cx231xx/cx231xx-vbi.c
+++ b/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;
}