瀏覽代碼

usb: atm: speedtch: don't print on ENOMEM

All kmalloc-based functions print enough information on failures.

Signed-off-by: Wolfram Sang <wsa-dev@sang-engineering.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Wolfram Sang 9 年之前
父節點
當前提交
8b80c106a0
共有 1 個文件被更改,包括 0 次插入1 次删除
  1. 0 1
      drivers/usb/atm/speedtch.c

+ 0 - 1
drivers/usb/atm/speedtch.c

@@ -817,7 +817,6 @@ static int speedtch_bind(struct usbatm_data *usbatm,
 	instance = kzalloc(sizeof(*instance), GFP_KERNEL);
 
 	if (!instance) {
-		usb_err(usbatm, "%s: no memory for instance data!\n", __func__);
 		ret = -ENOMEM;
 		goto fail_release;
 	}