Re: [RFC PULL] remove arch/h8300

From: Finn Thain
Date: Thu Apr 07 2022 - 04:34:34 EST


On Thu, 7 Apr 2022, John Paul Adrian Glaubitz wrote:

> On 4/7/22 09:17, Arnd Bergmann wrote:
> > On Wed, Apr 6, 2022 at 11:25 PM Rob Landley wrote:
> >
> >> I'm interested in H8300 because it's a tiny architecture (under 6k
> >> lines total, in 93 files) and thus a good way to see what a minimal
> >> Linux port looks like. If somebody would like to suggest a different
> >> one for that...
> >
> > Anything that is maintained is usually a better example, and it helps
> > when the code is not old enough to have accumulated a lot of historic
> > baggage.
>
> But if it's not a lot of code, would it really accumulate a lot of
> cruft?
>

Where you see "TODO" in Documentation/features/*/*/arch-support.txt it may
mean that an architecture is preventing the removal of an old API.

You're quite right, though, it is incorrect to call this an "accumulation"
of baggage. It is actually the failure to remove cruft. (OTOH, shiny new
things can be said to "accumulate". That's how cruft gets made.)