[PATCH] linker_lists.h: drop never used ll_start, ll_end macros
Simon Glass
sjg at chromium.org
Thu Apr 2 22:24:28 CEST 2026
On 2026-03-23T08:39:28, Rasmus Villemoes <ravi at prevas.dk> wrote:
> linker_lists.h: drop never used ll_start, ll_end macros
> linker_lists.h: drop never used ll_start, ll_end macros
>
> These macros have AFAICT never been used at all. It's also far from
> clear what purpose it could serve - for one thing, what _type would
> one pass, other than void perhaps? The example using "struct
> my_sub_cmd" seems misplaced, as how could one know that the first
> linker list consists of those, and moreover, how would one know how
> many there are?
>
> The linker list concept is fragile enough on its own, there is no need
> to have unused functionality lying around that may or may not bitrot
> and certainly will confuse readers of linker_lists.h.
>
> Signed-off-by: Rasmus Villemoes <ravi at prevas.dk>
>
> include/linker_lists.h | 50 --------------------------------------------------
> 1 file changed, 50 deletions(-)
Reviewed-by: Simon Glass <sjg at chromium.org>
More information about the U-Boot
mailing list