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)
committerDanny Wood <danwood76@gmail.com>
Tue, 29 Jan 2019 13:09:18 +0000 (13:09 +0000)
commit58ed06a3056fcdc14eba0e87ba666d43b90d5314
tree34af63b787619033dd0b0e10b7df858e0b87715f
parentbba84d3e70f0066ba315a2e70938c03ea0a54449
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