diff options
author | Wolfram Sang <wsa-dev@sang-engineering.com> | 2016-08-25 19:38:54 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-08-30 19:17:36 +0200 |
commit | 8b80c106a0c8b42115c15979b472b25dfecfac32 (patch) | |
tree | 84519fd729587cfe75d6c5a272909fe15791f77e /drivers/usb/atm | |
parent | 04e75e49564426624adfd912ac58cd18ac4e1ff0 (diff) |
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>
Diffstat (limited to 'drivers/usb/atm')
-rw-r--r-- | drivers/usb/atm/speedtch.c | 1 |
1 files changed, 0 insertions, 1 deletions
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; } |