net: dpaa2-eth: rearrange variable in dpaa2_eth_get_ethtool_stats
authorIoana Ciornei <ioana.ciornei@nxp.com>
Tue, 18 Oct 2022 14:18:51 +0000 (17:18 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 24 Oct 2022 08:22:11 +0000 (09:22 +0100)
commit3313206827678f6f036eca601a51f6c4524b559a
tree81dfd5ef2dea4204505c44a4ba8387ebbcaac8e0
parent14e493ddc341169f640a5b73120a278411129d4e
net: dpaa2-eth: rearrange variable in dpaa2_eth_get_ethtool_stats

Rearrange the variables in the dpaa2_eth_get_ethtool_stats() function so
that we adhere to the reverse Christmas tree rule.
Also, in the next patch we are adding more variables and I didn't know
where to place them with the current ordering.

Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/dpaa2/dpaa2-ethtool.c