From: Paul Gortmaker Date: Wed, 3 Apr 2002 12:17:56 +0000 (-0500) Subject: These net drivers init dev->rmem_start/end but do not use these at all X-Git-Tag: v2.5.8-pre1^2~6^2~9 X-Git-Url: http://git.neil.brown.name/?a=commitdiff_plain;h=b5a24d640f0f28e05e0d130d43b28917b6dc5ec6;p=history.git These net drivers init dev->rmem_start/end but do not use these at all (probably as a result of copying skeleton or similar). Removed this as a step in the goal to remove rmem_start/end from netdev struct entirely. --- diff --git a/drivers/net/3c505.c b/drivers/net/3c505.c index c49bf4769745..ed6c39fae6ca 100644 --- a/drivers/net/3c505.c +++ b/drivers/net/3c505.c @@ -1383,7 +1383,7 @@ static inline void elp_init(struct net_device *dev) /* * memory information */ - dev->mem_start = dev->mem_end = dev->rmem_end = dev->rmem_start = 0; + dev->mem_start = dev->mem_end = 0; } /************************************************************ diff --git a/drivers/net/arcnet/arc-rimi.c b/drivers/net/arcnet/arc-rimi.c index 571670eaeb84..b2f16c36b2c2 100644 --- a/drivers/net/arcnet/arc-rimi.c +++ b/drivers/net/arcnet/arc-rimi.c @@ -153,8 +153,6 @@ static int __init arcrimi_found(struct net_device *dev) dev->mem_start = first_mirror; dev->mem_end = last_mirror + MIRROR_SIZE - 1; - dev->rmem_start = dev->mem_start + BUFFER_SIZE * 0; - dev->rmem_end = dev->mem_start + BUFFER_SIZE * 2 - 1; /* initialize the rest of the device structure. */ diff --git a/drivers/net/arcnet/com90xx.c b/drivers/net/arcnet/com90xx.c index fd92d5e808f6..9d208f400df7 100644 --- a/drivers/net/arcnet/com90xx.c +++ b/drivers/net/arcnet/com90xx.c @@ -447,8 +447,6 @@ static int __init com90xx_found(struct net_device *dev0, int ioaddr, int airq, dev->mem_start = first_mirror; dev->mem_end = last_mirror + MIRROR_SIZE - 1; - dev->rmem_start = dev->mem_start + BUFFER_SIZE * 0; - dev->rmem_end = dev->mem_start + BUFFER_SIZE * 2 - 1; /* Initialize the rest of the device structure. */ memset(lp, 0, sizeof(struct arcnet_local));