fbcon: Remove struct fbcon_display.inverse
Subsystems (4)
Thomas Zimmermann
maintainerPATCH 1/1 fbcon: Remove struct fbcon_display.inverse
The field inverse in struct fbcon_display is unused. Remove it.
The field apparently never did anything. Commit c7ef5e285c84 ("video:
fbdev: atari: Fix inverse handling") converted its final user to call fb_invert_cmaps() instead.
--- drivers/video/fbdev/core/fbcon.h | 1 - 1 file changed, 1 deletion(-)
drivers/video/fbdev/core/fbcon.h +0 -1
@@ -30,7 +30,6 @@ struct fbcon_display {#ifdef CONFIG_FRAMEBUFFER_CONSOLE_LEGACY_ACCELERATION u_short scrollmode;/* Scroll Method, use fb_scrollmode() */ #endif -u_short inverse;/* != 0 text black on white as default */ short yscroll;/* Hardware scrolling */ int vrows;/* number of virtual rows */ int cursor_shape;
Signature · 1 line
2.52.0
Helge Deller
maintainerQuoted 1 line · Thomas Zimmermann
The field inverse in struct
fbcon_displayis unused. Remove it.
Indeed, seems to be unused.
Quoted 3 lines
The field apparently never did anything. Commit
c7ef5e285c84("video:
fbdev: atari: Fix inverse handling") converted its final user to callfb_invert_cmaps()instead.
That commit seems not to be related, as it touches a static inverse variable inside the atafb driver only.
Commit e4fc27618b75 (from 2005) touched it last time, but it seems even older.
Patch applied to fbdev, but I dropped the wrong commit reference in the commit message.
Thanks!
Helge
Quoted 21 lines
Signed-off-by Thomas Zimmermann <[email protected]>Fixes c7ef5e285c84 ("video: fbdev: atari: Fix inverse handling")Cc Geert Uytterhoeven <[email protected]>Cc Helge Deller <[email protected]>Cc <[email protected]> # v6.0+--- drivers/video/fbdev/core/fbcon.h | 1 - 1 file changed, 1 deletion(-)drivers/video/fbdev/core/fbcon.h +0
-1@@ -30,7 +30,6 @@ struct fbcon_display {#ifdef CONFIG_FRAMEBUFFER_CONSOLE_LEGACY_ACCELERATION u_short scrollmode;/* Scroll Method, use fb_scrollmode() */ #endif -u_short inverse;/* != 0 text black on white as default */ short yscroll;/* Hardware scrolling */ int vrows;/* number of virtual rows */ int cursor_shape;
Thomas Zimmermann
maintainerHi
Am 09.02.26 um 22:31 schrieb Helge Deller:
Quoted 5 lines · Thomas Zimmermann
Quoted 1 line
The field inverse in struct
fbcon_displayis unused. Remove it.Indeed, seems to be unused.
Quoted 7 lines
Quoted 3 lines
The field apparently never did anything. Commit
c7ef5e285c84("video:
fbdev: atari: Fix inverse handling") converted its final user to callfb_invert_cmaps()instead.That commit seems not to be related, as it touches a static inverse variable inside the atafb driver only.
Commite4fc27618b75(from 2005) touched it last time, but it seems even older.
Oh well. What a stupid mistake...
Quoted 3 lines
Patch applied to fbdev, but I dropped the wrong commit reference in the commit message.
Thanks a lot.
Best regards,
Thomas
Quoted 28 lines
Thanks!
HelgeQuoted 22 lines
Signed-off-by Thomas Zimmermann <[email protected]>Fixes c7ef5e285c84 ("video: fbdev: atari: Fix inverse handling")Cc Geert Uytterhoeven <[email protected]>Cc Helge Deller <[email protected]>Cc <[email protected]> # v6.0+---
drivers/video/fbdev/core/fbcon.h| 1 -1 file changed, 1 deletion(-)drivers/video/fbdev/core/fbcon.h +0
-0@@ -30,7 +30,6 @@ struct fbcon_display { #ifdef CONFIG_FRAMEBUFFER_CONSOLE_LEGACY_ACCELERATION
u_shortscrollmode; /* Scroll Method, usefb_scrollmode()*/ #endif
-u_shortinverse; /* != 0 text black on white as default */
short yscroll; /* Hardware scrolling */ int vrows; /* number of virtual rows */ intcursor_shape;
Signature · 6 lines
-- Thomas Zimmermann Graphics Driver Developer SUSE Software Solutions Germany GmbH Frankenstr. 146, 90461 Nürnberg, Germany, www.suse.com GF: Jochen Jaser, Andrew McDonald, Werner Knoblich, (HRB 36809, AG Nürnberg)