From: Wolfram Sang Date: Thu, 25 Aug 2016 17:38:54 +0000 (+0200) Subject: usb: atm: speedtch: don't print on ENOMEM X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=8b80c106a0c8b42115c15979b472b25dfecfac32;p=linux-beck.git usb: atm: speedtch: don't print on ENOMEM All kmalloc-based functions print enough information on failures. Signed-off-by: Wolfram Sang Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/usb/atm/speedtch.c b/drivers/usb/atm/speedtch.c index 0270d1312f83..5083eb5b0d5e 100644 --- a/drivers/usb/atm/speedtch.c +++ b/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; }