[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240827072423.4540bed6@kernel.org>
Date: Tue, 27 Aug 2024 07:24:23 -0700
From: Jakub Kicinski <kuba@...nel.org>
To: Yan Zhen <yanzhen@...o.com>
Cc: louis.peens@...igine.com, davem@...emloft.net, edumazet@...gle.com,
pabeni@...hat.com, oss-drivers@...igine.com, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, opensource.kernel@...o.vom
Subject: Re: [PATCH v1] netronome: nfp: Use min macro
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
Powered by blists - more mailing lists