diff options
author | Wolfram Sang <wsa-dev@sang-engineering.com> | 2016-08-25 13:38:54 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-08-30 13:17:36 -0400 |
commit | 8b80c106a0c8b42115c15979b472b25dfecfac32 (patch) | |
tree | 84519fd729587cfe75d6c5a272909fe15791f77e /drivers/usb | |
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')
-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, | |||
817 | instance = kzalloc(sizeof(*instance), GFP_KERNEL); | 817 | instance = kzalloc(sizeof(*instance), GFP_KERNEL); |
818 | 818 | ||
819 | if (!instance) { | 819 | if (!instance) { |
820 | usb_err(usbatm, "%s: no memory for instance data!\n", __func__); | ||
821 | ret = -ENOMEM; | 820 | ret = -ENOMEM; |
822 | goto fail_release; | 821 | goto fail_release; |
823 | } | 822 | } |