Commit bd53c115 authored by Stephen Hemminger's avatar Stephen Hemminger

[PATCH] tlan: get rid of unneeded global vars (rev 2)

The global variable media_map is never used. And the media table media
can be static.
Signed-off-by: default avatarStephen Hemminger <shemminger@osdl.org>
Signed-off-by: default avatarJeff Garzik <jgarzik@pobox.com>
parent fd762983
...@@ -223,13 +223,11 @@ static const char tlan_banner[] = "ThunderLAN driver v1.15\n"; ...@@ -223,13 +223,11 @@ static const char tlan_banner[] = "ThunderLAN driver v1.15\n";
static int tlan_have_pci; static int tlan_have_pci;
static int tlan_have_eisa; static int tlan_have_eisa;
const char *media[] = { static const char *media[] = {
"10BaseT-HD ", "10BaseT-FD ","100baseTx-HD ", "10BaseT-HD ", "10BaseT-FD ","100baseTx-HD ",
"100baseTx-FD", "100baseT4", NULL "100baseTx-FD", "100baseT4", NULL
}; };
int media_map[] = { 0x0020, 0x0040, 0x0080, 0x0100, 0x0200,};
static struct board { static struct board {
const char *deviceLabel; const char *deviceLabel;
u32 flags; u32 flags;
......
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