arcnet: com20020: remove needless base_addr assignment
authorMichael Grzeschik <m.grzeschik@pengutronix.de>
Wed, 28 Jun 2017 16:28:35 +0000 (18:28 +0200)
committerDavid 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

index 13d9ad4b3f5c977e99f3ac2f38d3f244de3ae203..78043a9c5981e5a0b8d562879de0f77e0763aa75 100644 (file)
@@ -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);