projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
06908d7
)
arcnet: com20020: remove needless base_addr assignment
author
Michael Grzeschik
<m.grzeschik@pengutronix.de>
Wed, 28 Jun 2017 16:28:35 +0000
(18:28 +0200)
committer
David S. Miller
<davem@davemloft.net>
Thu, 29 Jun 2017 19:18:36 +0000
(15:18 -0400)
The assignment is superfluous.
Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/arcnet/com20020.c
patch
|
blob
|
history
diff --git
a/drivers/net/arcnet/com20020.c
b/drivers/net/arcnet/com20020.c
index 13d9ad4b3f5c977e99f3ac2f38d3f244de3ae203..78043a9c5981e5a0b8d562879de0f77e0763aa75 100644
(file)
--- 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);