The global variable media_map is never used. And the media table media
can be static.
Signed-off-by: Stephen Hemminger <redacted>
diff -Nru a/drivers/net/tlan.c b/drivers/net/tlan.c
--- a/drivers/net/tlan.c 2004-10-19 11:05:01 -07:00
+++ b/drivers/net/tlan.c 2004-10-19 11:05:01 -07:00
@@ -223,12 +223,10 @@
static int tlan_have_pci;
static int tlan_have_eisa;
-const char *media[] = {
+static const char *media[] = {
"10BaseT-HD ", "10BaseT-FD ","100baseTx-HD ",
"100baseTx-FD", "100baseT4", NULL
};
-
-int media_map[] = { 0x0020, 0x0040, 0x0080, 0x0100, 0x0200,};
static struct board {
const char *deviceLabel;