diff options
author | Wolfram Sang <wsa-dev@sang-engineering.com> | 2016-08-11 18:03:41 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2016-08-24 08:47:59 -0300 |
commit | 80ae31974d31a3b8a8cc4cd0f12d47413d15aa5c (patch) | |
tree | cafd2b6336e479d0c28dc67e6046d40eea746407 /drivers/media/usb/airspy | |
parent | cd859c19d508e55a8f30c4db9551c6f8d634d9ef (diff) | |
download | linux-80ae31974d31a3b8a8cc4cd0f12d47413d15aa5c.tar.gz linux-80ae31974d31a3b8a8cc4cd0f12d47413d15aa5c.tar.bz2 linux-80ae31974d31a3b8a8cc4cd0f12d47413d15aa5c.zip |
[media] media: usb: airspy: airspy: 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/airspy')
-rw-r--r-- | drivers/media/usb/airspy/airspy.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/media/usb/airspy/airspy.c b/drivers/media/usb/airspy/airspy.c index fe031b06935f..3c556ee306cd 100644 --- a/drivers/media/usb/airspy/airspy.c +++ b/drivers/media/usb/airspy/airspy.c @@ -426,7 +426,6 @@ static int airspy_alloc_urbs(struct airspy *s) dev_dbg(s->dev, "alloc urb=%d\n", i); s->urb_list[i] = usb_alloc_urb(0, GFP_ATOMIC); if (!s->urb_list[i]) { - dev_dbg(s->dev, "failed\n"); for (j = 0; j < i; j++) usb_free_urb(s->urb_list[j]); return -ENOMEM; |