Skip to content

Commit 7e2e439

Browse files
author
Thomas Zimmermann
committed
fbdev/atafb: Remove flag FBINFO_FLAG_DEFAULT
The flag FBINFO_FLAG_DEFAULT is 0 and has no effect, as struct fbinfo.flags has been allocated to zero by a static declaration. So do not set it. Flags should signal differences from the default values. After cleaning up all occurrences of FBINFO_DEFAULT, the token will be removed. v2: * fix commit message (Miguel) Signed-off-by: Thomas Zimmermann <[email protected]> Acked-by: Sam Ravnborg <[email protected]> Cc: Helge Deller <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
1 parent 8a4675e commit 7e2e439

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

drivers/video/fbdev/atafb.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3112,7 +3112,6 @@ static int __init atafb_probe(struct platform_device *pdev)
31123112
#ifdef ATAFB_FALCON
31133113
fb_info.pseudo_palette = current_par.hw.falcon.pseudo_palette;
31143114
#endif
3115-
fb_info.flags = FBINFO_FLAG_DEFAULT;
31163115

31173116
if (!fb_find_mode(&fb_info.var, &fb_info, mode_option, atafb_modedb,
31183117
NUM_TOTAL_MODES, &atafb_modedb[defmode],

0 commit comments

Comments
 (0)