diff options
author | Wolfram Sang <wsa-dev@sang-engineering.com> | 2016-08-25 19:39:16 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-08-30 19:17:38 +0200 |
commit | 081e303e49d417961f2e55a87badd10959935eac (patch) | |
tree | 1993cef50faece4a458aedcbf9885bea7a56a5ca /drivers/usb/misc/idmouse.c | |
parent | usb: misc: ftdi-elan: don't print on ENOMEM (diff) | |
download | linux-081e303e49d417961f2e55a87badd10959935eac.tar.xz linux-081e303e49d417961f2e55a87badd10959935eac.zip |
usb: misc: idmouse: 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/misc/idmouse.c')
-rw-r--r-- | drivers/usb/misc/idmouse.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/usb/misc/idmouse.c b/drivers/usb/misc/idmouse.c index 5105397e62fc..2975e80b7a56 100644 --- a/drivers/usb/misc/idmouse.c +++ b/drivers/usb/misc/idmouse.c @@ -366,7 +366,6 @@ static int idmouse_probe(struct usb_interface *interface, kmalloc(IMGSIZE + dev->bulk_in_size, GFP_KERNEL); if (!dev->bulk_in_buffer) { - dev_err(&interface->dev, "Unable to allocate input buffer.\n"); idmouse_delete(dev); return -ENOMEM; } |