mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-14 17:14:09 +00:00
USB: ftdi-elan.c: remove dead code
The Coverity checker spotted this obviously dead code. Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
1ff15e8efc
commit
c19ecd6542
@ -513,8 +513,6 @@ static void ftdi_elan_respond_work(void *data)
|
|||||||
ftdi->disconnected += 1;
|
ftdi->disconnected += 1;
|
||||||
} else if (retval == -ENODEV) {
|
} else if (retval == -ENODEV) {
|
||||||
ftdi->disconnected += 1;
|
ftdi->disconnected += 1;
|
||||||
} else if (retval == -ENODEV) {
|
|
||||||
ftdi->disconnected += 1;
|
|
||||||
} else if (retval == -EILSEQ) {
|
} else if (retval == -EILSEQ) {
|
||||||
ftdi->disconnected += 1;
|
ftdi->disconnected += 1;
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user