summaryrefslogtreecommitdiffstats
path: root/drivers/net
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 21:18:36 +0200
commit0d494fcf867f95040b5b67e4bc5af739bcda37da (patch)
treeddf3bbdea36a2257271e55d241cdd5edd48b1a16 /drivers/net
parentTrivial fix to spelling mistake in arc_printk message (diff)
downloadlinux-0d494fcf867f95040b5b67e4bc5af739bcda37da.tar.xz
linux-0d494fcf867f95040b5b67e4bc5af739bcda37da.zip
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 '')
-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);