]> git.baikalelectronics.ru Git - kernel.git/commit
forcedeth: remove unnecessary structure member
authorZhu Yanjun <yanjun.zhu@oracle.com>
Sun, 10 Dec 2017 03:07:26 +0000 (22:07 -0500)
committerDavid S. Miller <davem@davemloft.net>
Mon, 11 Dec 2017 19:03:56 +0000 (14:03 -0500)
commit130d7d46e0b737972362b6bd1ecfce8eaf4ae115
tree8f4a12a0af415ed91993d68f2acb77c5a8c6ee19
parent05b389358a9723e28b63e05e3cf7d9a59ba04138
forcedeth: remove unnecessary structure member

Since both tx_ring and first_tx are the head of tx ring, it not
necessary to use two structure members to statically indicate
the head of tx ring. So first_tx 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