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

Commit 792f94f5 authored by Wolfram Sang's avatar Wolfram Sang Committed by Greg Kroah-Hartman
Browse files

usb: storage: usb: don't print error when allocating urb fails



kmalloc will print enough information in case of failure.

Signed-off-by: default avatarWolfram Sang <wsa-dev@sang-engineering.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 0450ba40
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -794,10 +794,8 @@ static int usb_stor_acquire_resources(struct us_data *us)
	struct task_struct *th;

	us->current_urb = usb_alloc_urb(0, GFP_KERNEL);
	if (!us->current_urb) {
		usb_stor_dbg(us, "URB allocation failed\n");
	if (!us->current_urb)
		return -ENOMEM;
	}

	/*
	 * Just before we start our control thread, initialize