diff options
author | Wolfram Sang <wsa-dev@sang-engineering.com> | 2016-08-25 20:39:16 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-08-30 20:17:38 +0300 |
commit | 081e303e49d417961f2e55a87badd10959935eac (patch) | |
tree | 1993cef50faece4a458aedcbf9885bea7a56a5ca /drivers/usb/misc | |
parent | 524fd35357559381d5e84b6b5af2995579ace0eb (diff) | |
download | linux-081e303e49d417961f2e55a87badd10959935eac.tar.xz |
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')
-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; } |