Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 081e303e authored by Wolfram Sang's avatar Wolfram Sang Committed by Greg Kroah-Hartman
Browse files

usb: misc: idmouse: don't print on ENOMEM



All kmalloc-based functions print enough information on failures.

Signed-off-by: default avatarWolfram Sang <wsa-dev@sang-engineering.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 524fd353
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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;
		}