瀏覽代碼

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>
Wolfram Sang 9 年之前
父節點
當前提交
7190c178e6
共有 1 個文件被更改,包括 0 次插入1 次删除
  1. 0 1
      drivers/usb/usbip/stub_rx.c

+ 0 - 1
drivers/usb/usbip/stub_rx.c

@@ -461,7 +461,6 @@ static void stub_recv_cmd_submit(struct stub_device *sdev,
 		priv->urb = usb_alloc_urb(0, GFP_KERNEL);
 
 	if (!priv->urb) {
-		dev_err(&udev->dev, "malloc urb\n");
 		usbip_event_add(ud, SDEV_EVENT_ERROR_MALLOC);
 		return;
 	}