[PATCH 9/9] s2io.c: Convert skipped nic->config.tx_cfg[i]. to tx_cfg->

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Missed doing the conversion in earlier patch.

Signed-off-by: Joe Perches <joe@xxxxxxxxxxx>
---
 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 06223df..1d13f60 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);
 	}
 
-- 
1.6.3.1.10.g659a0.dirty

--
To unsubscribe from this list: send the line "unsubscribe linux-next" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [Linux USB Development]     [Yosemite News]     [Linux SCSI]

  Powered by Linux