usb: cdc-wdm: remove logically dead code
authorGustavo A. R. Silva <garsilva@embeddedor.com>
Wed, 15 Feb 2017 03:10:52 +0000 (21:10 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 15 Feb 2017 18:35:15 +0000 (10:35 -0800)
commit53b7f7b53d83727075c01f57f813fc141d53c3d5
treef11002cf6b7c106456250e722d99225e87593e96
parenteff0b85efb2bbdf15aee13f2922722a5e61c3a0d
usb: cdc-wdm: remove logically dead code

Remove logically dead code.
'cntr' is always equal to zero when the following line of code is executed:
rv = cntr ? cntr : -EAGAIN;

Addresses-Coverity-ID: 113227
Signed-off-by: Gustavo A. R. Silva <garsilva@embeddedor.com>
Acked-by: Oliver Neukum <oneukum@suse.com>
Reviewed-by: Peter Senna Tschudin <peter.senna@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/class/cdc-wdm.c