diff options
author | Wolfram Sang <wsa-dev@sang-engineering.com> | 2016-08-11 21:03:54 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-08-30 17:13:54 (GMT) |
commit | 604f517e46b1c04185e18d6ec1bc224b4032c5c8 (patch) | |
tree | d0732a41a5c1bd474a82bc8cc3d07168e3433dce /drivers | |
parent | e8407a5995fed4e9fa66397808f1f2060ecf9e65 (diff) | |
download | linux-604f517e46b1c04185e18d6ec1bc224b4032c5c8.tar.xz |
media: usb: hackrf: hackrf: 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/hackrf/hackrf.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/media/usb/hackrf/hackrf.c b/drivers/media/usb/hackrf/hackrf.c index b1e229a..c2c8d12 100644 --- a/drivers/media/usb/hackrf/hackrf.c +++ b/drivers/media/usb/hackrf/hackrf.c @@ -691,7 +691,6 @@ static int hackrf_alloc_urbs(struct hackrf_dev *dev, bool rcv) dev_dbg(dev->dev, "alloc urb=%d\n", i); dev->urb_list[i] = usb_alloc_urb(0, GFP_ATOMIC); if (!dev->urb_list[i]) { - dev_dbg(dev->dev, "failed\n"); for (j = 0; j < i; j++) usb_free_urb(dev->urb_list[j]); return -ENOMEM; |