diff options
author | Adrian Bunk <bunk@stusta.de> | 2006-10-08 23:16:24 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-10-17 21:46:33 (GMT) |
commit | c19ecd654209725444d1f47a4422e6f48846b53c (patch) | |
tree | 8f6de019004de5ca1f599bdbf57f392372f9be5a /drivers/usb/misc/ftdi-elan.c | |
parent | 1ff15e8efc1703eaae1eeec6fc09db6af1e4049f (diff) | |
download | linux-c19ecd654209725444d1f47a4422e6f48846b53c.tar.xz |
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>
Diffstat (limited to 'drivers/usb/misc/ftdi-elan.c')
-rw-r--r-- | drivers/usb/misc/ftdi-elan.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/usb/misc/ftdi-elan.c b/drivers/usb/misc/ftdi-elan.c index 37d1f4e..9b591b8 100644 --- a/drivers/usb/misc/ftdi-elan.c +++ b/drivers/usb/misc/ftdi-elan.c @@ -513,8 +513,6 @@ static void ftdi_elan_respond_work(void *data) ftdi->disconnected += 1; } else if (retval == -ENODEV) { ftdi->disconnected += 1; - } else if (retval == -ENODEV) { - ftdi->disconnected += 1; } else if (retval == -EILSEQ) { ftdi->disconnected += 1; } else { |