Commit 0ade309b authored by Adrian Bunk's avatar Adrian Bunk Committed by David S. Miller

[TG3] tg3_bus_string(): remove dead code

The Coverity checker spotted this dead code (note that (clock_ctrl == 7) 
is already handled above).
Signed-off-by: default avatarAdrian Bunk <bunk@stusta.de>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 8f22757e
...@@ -10543,8 +10543,6 @@ static char * __devinit tg3_bus_string(struct tg3 *tp, char *str) ...@@ -10543,8 +10543,6 @@ static char * __devinit tg3_bus_string(struct tg3 *tp, char *str)
strcat(str, "66MHz"); strcat(str, "66MHz");
else if (clock_ctrl == 6) else if (clock_ctrl == 6)
strcat(str, "100MHz"); strcat(str, "100MHz");
else if (clock_ctrl == 7)
strcat(str, "133MHz");
} else { } else {
strcpy(str, "PCI:"); strcpy(str, "PCI:");
if (tp->tg3_flags & TG3_FLAG_PCI_HIGH_SPEED) if (tp->tg3_flags & TG3_FLAG_PCI_HIGH_SPEED)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment