summaryrefslogtreecommitdiffstats
path: root/drivers/media/usb/msi2500
diff options
context:
space:
mode:
authorWolfram Sang <wsa-dev@sang-engineering.com>2016-08-11 23:03:56 +0200
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2016-08-24 14:24:58 +0200
commit32dcb745ef750e38c60b9b6bbd74b95ae12e3f00 (patch)
treee1fbec5a9d0fdb1ed42a60191b54c1eb0bb41b07 /drivers/media/usb/msi2500
parent[media] media: usb: hdpvr: hdpvr-video: don't print error when allocating urb... (diff)
downloadlinux-32dcb745ef750e38c60b9b6bbd74b95ae12e3f00.tar.xz
linux-32dcb745ef750e38c60b9b6bbd74b95ae12e3f00.zip
[media] media: usb: msi2500: msi2500: 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/media/usb/msi2500')
-rw-r--r--drivers/media/usb/msi2500/msi2500.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/media/usb/msi2500/msi2500.c b/drivers/media/usb/msi2500/msi2500.c
index e7f167d44c61..367eb7e2a31d 100644
--- a/drivers/media/usb/msi2500/msi2500.c
+++ b/drivers/media/usb/msi2500/msi2500.c
@@ -509,7 +509,6 @@ static int msi2500_isoc_init(struct msi2500_dev *dev)
for (i = 0; i < MAX_ISO_BUFS; i++) {
urb = usb_alloc_urb(ISO_FRAMES_PER_DESC, GFP_KERNEL);
if (urb == NULL) {
- dev_err(dev->dev, "Failed to allocate urb %d\n", i);
msi2500_isoc_cleanup(dev);
return -ENOMEM;
}