summaryrefslogtreecommitdiffstats
path: root/drivers/media/usb/dvb-usb
diff options
context:
space:
mode:
authorWolfram Sang <wsa-dev@sang-engineering.com>2016-08-11 23:03:48 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-08-30 19:13:53 +0200
commit5cdf8c34948e8b16fb05913a9c6d3c0be23b7e0c (patch)
tree313128f87acd553829c0aaa0f1f33d2fcecea7c2 /drivers/media/usb/dvb-usb
parent91fb3ee6f390832f6992b5aade1064102e0dd613 (diff)
downloadblackbird-op-linux-5cdf8c34948e8b16fb05913a9c6d3c0be23b7e0c.tar.gz
blackbird-op-linux-5cdf8c34948e8b16fb05913a9c6d3c0be23b7e0c.zip
media: usb: dvb-usb: dib0700_core: 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/media/usb/dvb-usb')
-rw-r--r--drivers/media/usb/dvb-usb/dib0700_core.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/media/usb/dvb-usb/dib0700_core.c b/drivers/media/usb/dvb-usb/dib0700_core.c
index bf890c3d9cda..26797979ebce 100644
--- a/drivers/media/usb/dvb-usb/dib0700_core.c
+++ b/drivers/media/usb/dvb-usb/dib0700_core.c
@@ -783,10 +783,8 @@ int dib0700_rc_setup(struct dvb_usb_device *d, struct usb_interface *intf)
/* Starting in firmware 1.20, the RC info is provided on a bulk pipe */
purb = usb_alloc_urb(0, GFP_KERNEL);
- if (purb == NULL) {
- err("rc usb alloc urb failed");
+ if (purb == NULL)
return -ENOMEM;
- }
purb->transfer_buffer = kzalloc(RC_MSG_SIZE_V1_20, GFP_KERNEL);
if (purb->transfer_buffer == NULL) {
OpenPOWER on IntegriCloud