netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v1 net-next 0/2] ocelot stats improvement
@ 2022-04-30 23:23 Colin Foster
  2022-04-30 23:23 ` [PATCH v1 net-next 1/2] net: mscc: ocelot: remove unnecessary variable Colin Foster
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Colin Foster @ 2022-04-30 23:23 UTC (permalink / raw)
  To: linux-kernel, netdev
  Cc: David S. Miller, UNGLinuxDriver, Alexandre Belloni,
	Claudiu Manoil, Vladimir Oltean

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


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2022-05-02 21:20 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-04-30 23:23 [PATCH v1 net-next 0/2] ocelot stats improvement Colin Foster
2022-04-30 23:23 ` [PATCH v1 net-next 1/2] net: mscc: ocelot: remove unnecessary variable Colin Foster
2022-05-01 11:08   ` Vladimir Oltean
2022-04-30 23:23 ` [PATCH v1 net-next 2/2] net: mscc: ocelot: add missed parentheses around macro argument Colin Foster
2022-05-01 11:08   ` Vladimir Oltean
2022-05-02 21:20 ` [PATCH v1 net-next 0/2] ocelot stats improvement patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).