[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20061008231624.GN6755@stusta.de>
Date: Mon, 9 Oct 2006 01:16:24 +0200
From: Adrian Bunk <bunk@...sta.de>
To: Tony Olech <tony.olech@...ndigitalsystems.com>
Cc: gregkh@...e.de, linux-usb-devel@...ts.sourceforge.net,
linux-kernel@...r.kernel.org
Subject: [2.6 patch] drivers/usb/misc/ftdi-elan.c: remove dead code
The Coverity checker spotted this obviously dead code.
Signed-off-by: Adrian Bunk <bunk@...sta.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 {
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists