Re: [PATCH v1] netronome: nfp: Use min macro

From: Jakub Kicinski
Date: Tue Aug 27 2024 - 10:24:34 EST


On Tue, 27 Aug 2024 16:40:05 +0800 Yan Zhen wrote:
> Using min macro not only makes the code more concise and readable
> but also improves efficiency sometimes.

The code is fine, you're making it worse.

How many of those pointless min()/max() conversions do you have
for drivers/net ?
--
pw-bot: reject