Skip to content

Commit 82c2d02

Browse files
JoePerchesdavem330
authored andcommitted
s2io.c: Convert skipped nic->config.tx_cfg[i]. to tx_cfg->
Missed doing the conversion in earlier patch. Signed-off-by: Joe Perches <[email protected]> Acked-by: Sreenivasa Honnur <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent ffb5df6 commit 82c2d02

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/net/s2io.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1001,7 +1001,7 @@ static void free_shared_mem(struct s2io_nic *nic)
10011001
swstats->mem_freed += PAGE_SIZE;
10021002
}
10031003
kfree(fifo->list_info);
1004-
swstats->mem_freed += nic->config.tx_cfg[i].fifo_len *
1004+
swstats->mem_freed += tx_cfg->fifo_len *
10051005
sizeof(struct list_info_hold);
10061006
}
10071007

0 commit comments

Comments
 (0)