summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWolfram Sang <wsa-dev@sang-engineering.com>2016-08-11 23:03:56 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-08-30 19:13:54 +0200
commitec691d0a8b4a8e18bed47f7854f2c0720aac42ee (patch)
tree9a47350bc36b0a97360ba629b491533ec7eb67f0
parent908316624fba7be9fc3ff25ab457a9d1b194b404 (diff)
downloadop-kernel-dev-ec691d0a8b4a8e18bed47f7854f2c0720aac42ee.zip
op-kernel-dev-ec691d0a8b4a8e18bed47f7854f2c0720aac42ee.tar.gz
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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-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 e7f167d..367eb7e 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;
}
OpenPOWER on IntegriCloud