Re: [PATCH v2 4/9] vgacon, arch/*: remove unused screen_info definitions
Philippe Mathieu-Daudé <[email protected]>
| Newsgroups | gmane.linux.ports.sh.devel,gmane.linux.ports.alpha,gmane.linux.kernel,gmane.linux.ports.arm.kernel,gmane.linux.kernel.efi,gmane.linux.ports.hexagon,gmane.linux.ports.ia64,gmane.linux.ports.mips,gmane.linux.ports.ppc64.devel,gmane.linux.ports.riscv,gmane.linux.ports.sparc,gmane.comp.video.dri.devel |
|---|---|
| Message-ID | <[email protected]> |
On 19/7/23 14:39, Arnd Bergmann wrote: > From: Arnd Bergmann <[email protected]> > > 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 <[email protected]> > Reviewed-by: Thomas Zimmermann <[email protected]> > Acked-by: Dinh Nguyen <[email protected]> > Acked-by: Max Filippov <[email protected]> > Acked-by: Palmer Dabbelt <[email protected]> > Acked-by: Guo Ren <[email protected]> > Signed-off-by: Arnd Bergmann <[email protected]> > --- > 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é <[email protected]>