summaryrefslogtreecommitdiffstats
path: root/drivers/usb/misc/ftdi-elan.c
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2006-10-09 01:16:24 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2006-10-17 23:46:33 +0200
commitc19ecd654209725444d1f47a4422e6f48846b53c (patch)
tree8f6de019004de5ca1f599bdbf57f392372f9be5a /drivers/usb/misc/ftdi-elan.c
parentUSB: Mitsumi USB FDD 061M: UNUSUAL_DEV multilun fix (diff)
downloadlinux-c19ecd654209725444d1f47a4422e6f48846b53c.tar.xz
linux-c19ecd654209725444d1f47a4422e6f48846b53c.zip
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.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/usb/misc/ftdi-elan.c b/drivers/usb/misc/ftdi-elan.c
index 37d1f4e90d5a..9b591b8b9369 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 {