Re: [PATCH 2/4] ARM: footbridge: remove leftover from personal-server

From: Arnd Bergmann
Date: Wed Aug 24 2022 - 06:37:37 EST


On Sun, Aug 21, 2022 at 7:55 AM Christoph Hellwig <hch@xxxxxx> wrote:
>
> On Thu, Aug 18, 2022 at 11:15:48PM +0200, Arnd Bergmann wrote:
> > From: Arnd Bergmann <arnd@xxxxxxxx>
> >
> > The machine was removed a while ago, and the checks are
> > now useless.
>
> Curious, should entries for removed machines be kept in the mach-types
> file? Because that makes it really easy to leave dead code like this
> around.

A long time ago it was common to add the entries in mach-types before
the Kconfig symbol got merged, an Russell just updated the list
periodically to drop stale entries. As we remove most board files in
a coming release, we should probably do this as part of the bigger
cleanup then.

Arnd