diff options
author | Joe Perches <joe@perches.com> | 2009-08-24 17:29:48 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-08-30 22:35:08 -0700 |
commit | 82c2d02356229c66daa6b6e51f8da559327b87b0 (patch) | |
tree | 0dcac420e8840edd97becc05917533aca5c17799 /drivers | |
parent | ffb5df6ce776a05eec1fbe4876cc6603c6336140 (diff) | |
download | linux-3.10-82c2d02356229c66daa6b6e51f8da559327b87b0.tar.gz linux-3.10-82c2d02356229c66daa6b6e51f8da559327b87b0.tar.bz2 linux-3.10-82c2d02356229c66daa6b6e51f8da559327b87b0.zip |
s2io.c: Convert skipped nic->config.tx_cfg[i]. to tx_cfg->
Missed doing the conversion in earlier patch.
Signed-off-by: Joe Perches <joe@perches.com>
Acked-by: Sreenivasa Honnur <sreenivasa.honnur@neterion.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/s2io.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/s2io.c b/drivers/net/s2io.c index 06223dfd2e8..1d13f60a9f5 100644 --- a/drivers/net/s2io.c +++ b/drivers/net/s2io.c @@ -1001,7 +1001,7 @@ static void free_shared_mem(struct s2io_nic *nic) swstats->mem_freed += PAGE_SIZE; } kfree(fifo->list_info); - swstats->mem_freed += nic->config.tx_cfg[i].fifo_len * + swstats->mem_freed += tx_cfg->fifo_len * sizeof(struct list_info_hold); } |