Re: [PATCH v2 net-next 1/3] net: mscc: ocelot: remove redundant stats_layout pointers

From: Vladimir Oltean
Date: Mon Nov 21 2022 - 11:47:04 EST


On Sat, Nov 19, 2022 at 03:14:04PM -0800, Colin Foster wrote:
> 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@xxxxxxxxx>
> Signed-off-by: Colin Foster <colin.foster@xxxxxxxxxxxxxxxx>
> ---
>
> v1->v2
> * Fix unused variable build warning in v1

Reviewed-by: Vladimir Oltean <vladimir.oltean@xxxxxxx>