Thread (6 messages) 6 messages, 3 authors, 2022-05-02

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

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>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help