]> git.baikalelectronics.ru Git - kernel.git/commit
forcedeth: remove duplicate structure member in xmit
authorZhu Yanjun <yanjun.zhu@oracle.com>
Sat, 16 Dec 2017 09:31:03 +0000 (04:31 -0500)
committerDavid S. Miller <davem@davemloft.net>
Tue, 19 Dec 2017 15:57:17 +0000 (10:57 -0500)
commitc2e67231bc9029e1b45e9b15ed5b8ac06053312b
tree7eb699826d6a6936412bcbb4258d83a368736d40
parent7474a42113c3e732aaa04a3524073c19f93ae84c
forcedeth: remove duplicate structure member in xmit

Since both first_tx_ctx and tx_skb are the head of tx ctx, it not
necessary to use two structure members to statically indicate
the head of tx ctx. So first_tx_ctx is removed.

CC: Srinivas Eeda <srinivas.eeda@oracle.com>
CC: Joe Jin <joe.jin@oracle.com>
CC: Junxiao Bi <junxiao.bi@oracle.com>
Signed-off-by: Zhu Yanjun <yanjun.zhu@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/nvidia/forcedeth.c