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>
This commit is contained in:
parent
524fd35357
commit
081e303e49
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue