USB: devio: fix a condition in async_completed()
authorDan Carpenter <dan.carpenter@oracle.com>
Mon, 18 May 2015 12:29:51 +0000 (15:29 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 3 Aug 2015 16:29:44 +0000 (09:29 -0700)
commitfe4b246602ac4efaf78e8d4d40e6f6ba5a8f58ca
tree35cdb98772d086e874f9383e1c4b86bef085d369
parent4b50e88dcd2ae15f26d431a8d1c177f233dcb5cd
USB: devio: fix a condition in async_completed()

commit 83ed07c5db71bc02bd646d6eb60b48908235cdf9 upstream.

Static checkers complain that the current condition is never true.  It
seems pretty likely that it's a typo and "URB" was intended instead of
"USB".

Fixes: 3d97ff63f899 ('usbdevfs: Use scatter-gather lists for large bulk transfers')
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/core/devio.c