forcedeth: remove duplicate structure member in rx
authorZhu Yanjun <yanjun.zhu@oracle.com>
Fri, 5 Jan 2018 04:06:39 +0000 (23:06 -0500)
committerDavid S. Miller <davem@davemloft.net>
Mon, 8 Jan 2018 19:15:15 +0000 (14:15 -0500)
commit64f26abb17ca2e55ab584352ca4d68cf42c8c102
treee2bc4439bc5f80a4a3be9e719570f49a7de3d68a
parentc8c9aeb519496f403563c715616dfc2a921a7eae
forcedeth: remove duplicate structure member in rx

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