projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1ff15e8
)
USB: ftdi-elan.c: remove dead code
author
Adrian Bunk
<bunk@stusta.de>
Sun, 8 Oct 2006 23:16:24 +0000
(
01:16
+0200)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Tue, 17 Oct 2006 21:46:33 +0000
(14:46 -0700)
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>
drivers/usb/misc/ftdi-elan.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/usb/misc/ftdi-elan.c
b/drivers/usb/misc/ftdi-elan.c
index 37d1f4e90d5a6c261c09c604f3864be7fed1a8c0..9b591b8b9369b2e67708ffb79cd01cd997451838 100644
(file)
--- 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 {