Browse Source

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 năm trước cách đây
mục cha
commit
8b80c106a0
1 tập tin đã thay đổi với 0 bổ sung1 xóa
  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;
 	}