[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230406090017.0fc0ae34@kernel.org>
Date: Thu, 6 Apr 2023 09:00:17 -0700
From: Jakub Kicinski <kuba@...nel.org>
To: Paolo Abeni <pabeni@...hat.com>
Cc: Simon Horman <horms@...nel.org>,
"David S. Miller" <davem@...emloft.net>,
Eric Dumazet <edumazet@...gle.com>,
Nathan Chancellor <nathan@...nel.org>,
Nick Desaulniers <ndesaulniers@...gle.com>,
Tom Rix <trix@...hat.com>, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, llvm@...ts.linux.dev
Subject: Re: [PATCH net-next 2/3] ksz884x: remove unused #defines
On Thu, 06 Apr 2023 15:37:36 +0200 Paolo Abeni wrote:
> On Wed, 2023-04-05 at 10:39 +0200, Simon Horman wrote:
> > Remove unused #defines from ksz884x driver.
> >
> > These #defines may have some value in documenting the hardware.
> > But that information may be accessed via scm history.
>
> I personally have a slight preference for keeping these definitions in
> the sources (for doc purposes), but it's not a big deal.
>
> Any 3rd opinion more then welcome!
I had the same reaction, FWIW.
Cleaning up unused "code" macros, pure software stuff makes perfect
sense. But I feel a bit ambivalent about removing definitions of HW
registers and bits.
Powered by blists - more mailing lists