aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb
diff options
context:
space:
mode:
authorWolfram Sang <wsa-dev@sang-engineering.com>2016-08-11 17:14:48 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-08-15 09:54:27 -0400
commit7190c178e65b111379faa7c3b453b7e54f078872 (patch)
tree121edaa3697fb86bab19276405c5618e66c6cec0 /drivers/usb
parent2bd07d3c21058db28f6e8ad41b7854f5eaffa451 (diff)
usb: usbip: stub_rx: 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/usb')
-rw-r--r--drivers/usb/usbip/stub_rx.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/usb/usbip/stub_rx.c b/drivers/usb/usbip/stub_rx.c
index 2df63e305722..191b176ffedf 100644
--- a/drivers/usb/usbip/stub_rx.c
+++ b/drivers/usb/usbip/stub_rx.c
@@ -461,7 +461,6 @@ static void stub_recv_cmd_submit(struct stub_device *sdev,
461 priv->urb = usb_alloc_urb(0, GFP_KERNEL); 461 priv->urb = usb_alloc_urb(0, GFP_KERNEL);
462 462
463 if (!priv->urb) { 463 if (!priv->urb) {
464 dev_err(&udev->dev, "malloc urb\n");
465 usbip_event_add(ud, SDEV_EVENT_ERROR_MALLOC); 464 usbip_event_add(ud, SDEV_EVENT_ERROR_MALLOC);
466 return; 465 return;
467 } 466 }