]> git.neil.brown.name Git - history.git/commitdiff
These net drivers init dev->rmem_start/end but do not use these at all
authorPaul Gortmaker <p_gortmaker@yahoo.com>
Wed, 3 Apr 2002 12:17:56 +0000 (07:17 -0500)
committerJeff Garzik <jgarzik@mandrakesoft.com>
Wed, 3 Apr 2002 12:17:56 +0000 (07:17 -0500)
(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.

drivers/net/3c505.c
drivers/net/arcnet/arc-rimi.c
drivers/net/arcnet/com90xx.c

index c49bf47697457c4186945ee9f9bfad644761b410..ed6c39fae6ca8a133f444fc8e0412fcce7a3377f 100644 (file)
@@ -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;
 }
 
 /************************************************************
index 571670eaeb84c2cde668df6d278e5f2e6753fefe..b2f16c36b2c24b81ce537a5b78ddba848b727154 100644 (file)
@@ -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. */
 
index fd92d5e808f6ca006ca6a2e676a8c9c226df5693..9d208f400df71a646e82b66312fef65ecde7e432 100644 (file)
@@ -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));