[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20240327021541.6499-1-atlas.yu@canonical.com>
Date: Wed, 27 Mar 2024 10:15:41 +0800
From: Atlas Yu <atlas.yu@...onical.com>
To: hkallweit1@...il.com
Cc: atlas.yu@...onical.com,
davem@...emloft.net,
edumazet@...gle.com,
hau@...ltek.com,
kuba@...nel.org,
netdev@...r.kernel.org,
nic_swsd@...ltek.com,
pabeni@...hat.com
Subject: DRY rules - extract into inline helper functions
On Wed, Mar 27, 2024 at 4:29 AM Heiner Kallweit <hkallweit1@...il.com> wrote:
> cond like conditional would be a little too generic here IMO.
> Something like rtl_dash_loop_wait_high()/low() would make clear
> that the poll loop is relevant only if DASH is enabled.
I don't know if cond might be reused later somewhere, so I am thinking of
creating both dash_loop_wait and cond_loop_wait. And specifying them to be
inline functions explicitly. What do you think?
Powered by blists - more mailing lists