diff options
-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 06223dfd2e88..1d13f60a9f52 100644 --- a/drivers/net/s2io.c +++ b/drivers/net/s2io.c | |||
@@ -1001,7 +1001,7 @@ static void free_shared_mem(struct s2io_nic *nic) | |||
1001 | swstats->mem_freed += PAGE_SIZE; | 1001 | swstats->mem_freed += PAGE_SIZE; |
1002 | } | 1002 | } |
1003 | kfree(fifo->list_info); | 1003 | kfree(fifo->list_info); |
1004 | swstats->mem_freed += nic->config.tx_cfg[i].fifo_len * | 1004 | swstats->mem_freed += tx_cfg->fifo_len * |
1005 | sizeof(struct list_info_hold); | 1005 | sizeof(struct list_info_hold); |
1006 | } | 1006 | } |
1007 | 1007 | ||