[PATCH v2 4/9] vgacon, arch/*: remove unused screen_info definitions

Philippe Mathieu-Daudé philmd at linaro.org
Wed Jul 19 06:34:38 PDT 2023


On 19/7/23 14:39, Arnd Bergmann wrote:
> From: Arnd Bergmann <arnd at arndb.de>
> 
> A number of architectures either kept the screen_info definition for
> historical purposes as it used to be required by the generic VT code, or
> they copied it from another architecture in order to build the VGA console
> driver in an allmodconfig build. The mips definition is used by some
> platforms, but the initialization on jazz is not needed.
> 
> Now that vgacon no longer builds on these architectures, remove the
> stale definitions and initializations.
> 
> Reviewed-by: Javier Martinez Canillas <javierm at redhat.com>
> Reviewed-by: Thomas Zimmermann <tzimmermann at suse.de>
> Acked-by: Dinh Nguyen <dinguyen at kernel.org>
> Acked-by: Max Filippov <jcmvbkbc at gmail.com>
> Acked-by: Palmer Dabbelt <palmer at rivosinc.com>
> Acked-by: Guo Ren <guoren at kernel.org>
> Signed-off-by: Arnd Bergmann <arnd at arndb.de>
> ---
>   arch/csky/kernel/setup.c          | 12 ------------
>   arch/hexagon/kernel/Makefile      |  2 --
>   arch/hexagon/kernel/screen_info.c |  3 ---
>   arch/mips/jazz/setup.c            |  9 ---------
>   arch/nios2/kernel/setup.c         |  5 -----
>   arch/sh/kernel/setup.c            |  5 -----
>   arch/sparc/kernel/setup_32.c      | 13 -------------
>   arch/sparc/kernel/setup_64.c      | 13 -------------
>   arch/xtensa/kernel/setup.c        | 12 ------------
>   9 files changed, 74 deletions(-)
>   delete mode 100644 arch/hexagon/kernel/screen_info.c

Reviewed-by: Philippe Mathieu-Daudé <philmd at linaro.org>




More information about the linux-riscv mailing list