net: mscc: ocelot: remove redundant stats_layout pointers
authorColin Foster <colin.foster@in-advantage.com>
Sat, 19 Nov 2022 23:14:04 +0000 (15:14 -0800)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 22 Nov 2022 14:36:43 +0000 (15:36 +0100)
commit33d5eeb9a684a2e962ca0be3fe557a2c9f48d8e2
tree4cbb0fcae275a2ce6c19fcf819be67181d1e4a7a
parent837a3d66d698516ad2330e122eba9752ec3a48ed
net: mscc: ocelot: remove redundant stats_layout pointers

Ever since commit 4d1d157fb6a4 ("net: mscc: ocelot: share the common stat
definitions between all drivers") the stats_layout entry in ocelot and
felix drivers have become redundant. Remove the unnecessary code.

Suggested-by: Vladimir Oltean <olteanv@gmail.com>
Signed-off-by: Colin Foster <colin.foster@in-advantage.com>
Reviewed-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/dsa/ocelot/felix.c
drivers/net/dsa/ocelot/felix.h
drivers/net/dsa/ocelot/felix_vsc9959.c
drivers/net/dsa/ocelot/seville_vsc9953.c
drivers/net/ethernet/mscc/ocelot_stats.c
drivers/net/ethernet/mscc/ocelot_vsc7514.c
include/soc/mscc/ocelot.h