diff options
author | Wolfram Sang <wsa-dev@sang-engineering.com> | 2016-08-12 00:03:41 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-08-30 20:13:53 +0300 |
commit | 05476e6469740fd961bc3a3665cf2ff52548e41b (patch) | |
tree | 7bf424b9b3adfb3884e7352ca20ecb037d4edbdb /drivers | |
parent | 5414c2d6afac4d3037fb204b8806250f983e05da (diff) | |
download | linux-05476e6469740fd961bc3a3665cf2ff52548e41b.tar.xz |
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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
-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; |