提交 82c2d023 编写于 作者: J Joe Perches 提交者: David S. Miller

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

Missed doing the conversion in earlier patch.
Signed-off-by: NJoe Perches <joe@perches.com>
Acked-by: NSreenivasa Honnur <sreenivasa.honnur@neterion.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 ffb5df6c
......@@ -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);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册