summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorMichael Grzeschik <m.grzeschik@pengutronix.de>2017-06-28 18:28:35 +0200
committerDavid S. Miller <davem@davemloft.net>2017-06-29 15:18:36 -0400
commit0d494fcf867f95040b5b67e4bc5af739bcda37da (patch)
treeddf3bbdea36a2257271e55d241cdd5edd48b1a16 /drivers
parent06908d7aee8d62a80cabfd134d0354dc4d2794bc (diff)
arcnet: com20020: remove needless base_addr assignment
The assignment is superfluous. Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/arcnet/com20020.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/arcnet/com20020.c b/drivers/net/arcnet/com20020.c
index 13d9ad4b3f5c..78043a9c5981 100644
--- a/drivers/net/arcnet/com20020.c
+++ b/drivers/net/arcnet/com20020.c
@@ -246,8 +246,6 @@ int com20020_found(struct net_device *dev, int shared)
return -ENODEV;
}
- dev->base_addr = ioaddr;
-
arc_printk(D_NORMAL, dev, "%s: station %02Xh found at %03lXh, IRQ %d.\n",
lp->card_name, dev->dev_addr[0], dev->base_addr, dev->irq);