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)
commit41b0cd36de9bad10e689151ff15a28a88446bd6e
tree7eb699826d6a6936412bcbb4258d83a368736d40
parente9c5a106e92e18b1670619bce27fdbccf0d7fe23
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