diff options
author | Gustavo A. R. Silva <garsilva@embeddedor.com> | 2017-02-15 06:10:52 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-02-15 21:35:15 +0300 |
commit | 53b7f7b53d83727075c01f57f813fc141d53c3d5 (patch) | |
tree | f11002cf6b7c106456250e722d99225e87593e96 /drivers/usb/serial/io_edgeport.c | |
parent | eff0b85efb2bbdf15aee13f2922722a5e61c3a0d (diff) | |
download | linux-53b7f7b53d83727075c01f57f813fc141d53c3d5.tar.xz |
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>
Diffstat (limited to 'drivers/usb/serial/io_edgeport.c')
0 files changed, 0 insertions, 0 deletions