summaryrefslogtreecommitdiffstats
path: root/drivers/net/ac3200.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/ac3200.c')
-rw-r--r--drivers/net/ac3200.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/net/ac3200.c b/drivers/net/ac3200.c
index c20ee80a1..e86be3824 100644
--- a/drivers/net/ac3200.c
+++ b/drivers/net/ac3200.c
@@ -344,11 +344,9 @@ static int ac_close_card(struct net_device *dev)
#ifdef MODULE
#define MAX_AC32_CARDS 4 /* Max number of AC32 cards per module */
-#define NAMELEN 8 /* # of chars for storing dev->name */
-static char namelist[NAMELEN * MAX_AC32_CARDS] = { 0, };
static struct net_device dev_ac32[MAX_AC32_CARDS] = {
{
- NULL, /* assign a chunk of namelist[] below */
+ "",
0, 0, 0, 0,
0, 0,
0, 0, 0, NULL, NULL
@@ -369,7 +367,6 @@ init_module(void)
for (this_dev = 0; this_dev < MAX_AC32_CARDS; this_dev++) {
struct net_device *dev = &dev_ac32[this_dev];
- dev->name = namelist+(NAMELEN*this_dev);
dev->irq = irq[this_dev];
dev->base_addr = io[this_dev];
dev->mem_start = mem[this_dev]; /* Currently ignored by driver */