diff options
author | 2022-04-30 16:23:26 -0700 | |
---|---|---|
committer | 2022-05-02 14:04:17 -0700 | |
commit | 05e4ed1ce585637958c8ad6121999dc3109633ad (patch) | |
tree | 326cee612ad19a2a1c3f179b97f7e464e91e419a /net/core/sock.c | |
parent | Stefan Schmidt says: (diff) | |
download | wireguard-linux-05e4ed1ce585637958c8ad6121999dc3109633ad.tar.xz wireguard-linux-05e4ed1ce585637958c8ad6121999dc3109633ad.zip |
net: mscc: ocelot: remove unnecessary variable
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>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/core/sock.c')
0 files changed, 0 insertions, 0 deletions