[media] media: usb: msi2500: msi2500: don't print error when allocating urb fails
authorWolfram Sang <wsa-dev@sang-engineering.com>
Thu, 11 Aug 2016 21:03:56 +0000 (18:03 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Wed, 24 Aug 2016 12:24:58 +0000 (09:24 -0300)
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>
drivers/media/usb/msi2500/msi2500.c

index e7f167d44c61cefbb2827a195e981dfe0ed57573..367eb7e2a31dbc3f2d3b80d214743bc4f79f8f88 100644 (file)
@@ -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;
                }