[PATCH v1 net-next 0/2] ocelot stats improvement

From: Colin Foster
Date: Sat Apr 30 2022 - 19:23:56 EST


A couple of pick-ups after f187bfa6f35 ("net: ethernet: ocelot: remove
the need for num_stats initializer") - one addresses a warning
patchwork flagged about operator precedence when using macro arguments.
The other is a reduction of unnecessary memory allocation.

Colin Foster (2):
net: mscc: ocelot: remove unnecessary variable
net: mscc: ocelot: add missed parentheses around macro argument

include/soc/mscc/ocelot.h | 9 +++------
1 file changed, 3 insertions(+), 6 deletions(-)

--
2.25.1