Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 82c2d023 authored by Joe Perches's avatar Joe Perches Committed by David S. Miller
Browse files

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



Missed doing the conversion in earlier patch.

Signed-off-by: default avatarJoe Perches <joe@perches.com>
Acked-by: default avatarSreenivasa Honnur <sreenivasa.honnur@neterion.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent ffb5df6c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);
	}