Skip to content

Commit

Permalink
s2io.c: Convert skipped nic->config.tx_cfg[i]. to tx_cfg->
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Joe Perches authored and David S. Miller committed Aug 31, 2009
1 parent ffb5df6 commit 82c2d02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/s2io.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit 82c2d02

Please sign in to comment.