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

Commit 056e0af2 authored by Ashvini Varatharaj's avatar Ashvini Varatharaj Committed by Greg Kroah-Hartman
Browse files

Staging: line6: replacing -EINVAL with retval in driver.c



drivers/staging/line6/driver.c:208 line6_send_raw_message_async_part()
info: why not propagate 'retval' from usb_submit_urb() instead of (-22)?

Signed-off-by: default avatarAshvini Varatharaj <ashvinivaratharaj@gmail.com>
Reviewed-by: default avatarJosh Triplett <josh@joshtriplett.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 88ef9b1b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -205,7 +205,7 @@ static int line6_send_raw_message_async_part(struct message *msg,
			__func__, retval);
		usb_free_urb(urb);
		kfree(msg);
		return -EINVAL;
		return retval;
	}

	return 0;