* [2.6 patch] drivers/usb/misc/ftdi-elan.c: remove dead code
@ 2006-10-08 23:16 Adrian Bunk
0 siblings, 0 replies; only message in thread
From: Adrian Bunk @ 2006-10-08 23:16 UTC (permalink / raw)
To: Tony Olech; +Cc: gregkh, linux-usb-devel, linux-kernel
The Coverity checker spotted this obviously dead code.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
--- linux-2.6/drivers/usb/misc/ftdi-elan.c.old 2006-10-09 00:22:57.000000000 +0200
+++ linux-2.6/drivers/usb/misc/ftdi-elan.c 2006-10-09 00:24:39.000000000 +0200
@@ -513,8 +513,6 @@
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 {
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2006-10-08 23:16 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-08 23:16 [2.6 patch] drivers/usb/misc/ftdi-elan.c: remove dead code Adrian Bunk
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox