Re: [PATCH v1 net-next 1/2] net: mscc: ocelot: remove unnecessary variable
From: Vladimir Oltean <vladimir.oltean@nxp.com>
Date: 2022-05-01 11:08:40
Also in:
lkml
From: Vladimir Oltean <vladimir.oltean@nxp.com>
Date: 2022-05-01 11:08:40
Also in:
lkml
On Sat, Apr 30, 2022 at 04:23:26PM -0700, Colin Foster wrote:
Commit 2f187bfa6f35 ("net: ethernet: ocelot: remove the need for num_stats
initializer") added a flags field to the ocelot stats structure. The same
behavior can be achieved without this additional field taking up extra
memory.
Remove this structure element to free up RAM
Suggested-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: Colin Foster <colin.foster@in-advantage.com>
---Reviewed-by: Vladimir Oltean <vladimir.oltean@nxp.com> Tested-by: Vladimir Oltean <vladimir.oltean@nxp.com>