diff options
author | Ioana Ciornei <ioana.ciornei@nxp.com> | 2023-05-23 16:47:44 +0300 |
---|---|---|
committer | Peng Fan <peng.fan@nxp.com> | 2023-06-14 18:40:16 +0800 |
commit | 13ca5c2f56a172a3df1d5b84a084ed437ea26cde (patch) | |
tree | 430e4914fa8e32ca2ee7a49c2496d9d4fb64048b /arch/arm/mach-stm32mp/cmd_stm32prog/stm32prog_serial.c | |
parent | 3e697627400fea74f2d4c5e63dac31eb557e9a83 (diff) |
net: ldpaa_eth: transform dpni_statistics from a struct to a union
In order to simplify code, dpni_statistics can be written as a union.
Using the raw accessors we can just loop through all the statistics from
a page without trying to access each an every one independently.
Make this change to a union.
Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com>
Reviewed-by: Ramon Fried <rfried.dev@gmail.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Diffstat (limited to 'arch/arm/mach-stm32mp/cmd_stm32prog/stm32prog_serial.c')
0 files changed, 0 insertions, 0 deletions