projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8f22757
)
[TG3] tg3_bus_string(): remove dead code
author
Adrian Bunk
<bunk@stusta.de>
Sun, 12 Mar 2006 02:49:38 +0000
(18:49 -0800)
committer
David S. Miller
<davem@davemloft.net>
Sun, 12 Mar 2006 02:49:38 +0000
(18:49 -0800)
The Coverity checker spotted this dead code (note that (clock_ctrl == 7)
is already handled above).
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/tg3.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/tg3.c
b/drivers/net/tg3.c
index 15545620ab0e2d6a2efe77bdb07c99d2bc7a6938..b8f1524da5578b7d4b34f53713d370fae3e361da 100644
(file)
--- a/
drivers/net/tg3.c
+++ b/
drivers/net/tg3.c
@@
-10543,8
+10543,6
@@
static char * __devinit tg3_bus_string(struct tg3 *tp, char *str)
strcat(str, "66MHz");
else if (clock_ctrl == 6)
strcat(str, "100MHz");
- else if (clock_ctrl == 7)
- strcat(str, "133MHz");
} else {
strcpy(str, "PCI:");
if (tp->tg3_flags & TG3_FLAG_PCI_HIGH_SPEED)