diff options
author | Wolfram Sang <wsa-dev@sang-engineering.com> | 2016-08-11 17:03:40 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-08-30 13:13:53 -0400 |
commit | 5414c2d6afac4d3037fb204b8806250f983e05da (patch) | |
tree | 9153778693e46c4f60945b5e1c7f815408e12621 /drivers/media/rc | |
parent | 75ee1cb92b0027cd27b433a011929c749b0bd894 (diff) |
media: rc: redrat3: 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/rc')
-rw-r--r-- | drivers/media/rc/redrat3.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/media/rc/redrat3.c b/drivers/media/rc/redrat3.c index 399f44d89a29..ec8016d9b009 100644 --- a/drivers/media/rc/redrat3.c +++ b/drivers/media/rc/redrat3.c | |||
@@ -970,10 +970,8 @@ static int redrat3_dev_probe(struct usb_interface *intf, | |||
970 | 970 | ||
971 | /* set up bulk-in endpoint */ | 971 | /* set up bulk-in endpoint */ |
972 | rr3->read_urb = usb_alloc_urb(0, GFP_KERNEL); | 972 | rr3->read_urb = usb_alloc_urb(0, GFP_KERNEL); |
973 | if (!rr3->read_urb) { | 973 | if (!rr3->read_urb) |
974 | dev_err(dev, "Read urb allocation failure\n"); | ||
975 | goto error; | 974 | goto error; |
976 | } | ||
977 | 975 | ||
978 | rr3->ep_in = ep_in; | 976 | rr3->ep_in = ep_in; |
979 | rr3->bulk_in_buf = usb_alloc_coherent(udev, | 977 | rr3->bulk_in_buf = usb_alloc_coherent(udev, |