Skip to content

Commit 751f9a8

Browse files
committed
fbdev/pxafb: 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 devm_kzalloc(). 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 <tzimmermann@suse.de> Acked-by: Sam Ravnborg <sam@ravnborg.org> Cc: Helge Deller <deller@gmx.de> Link: https://patchwork.freedesktop.org/patch/msgid/20230715185343.7193-17-tzimmermann@suse.de
1 parent 7e2e439 commit 751f9a8

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

drivers/video/fbdev/pxafb.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -888,7 +888,6 @@ static void init_pxafb_overlay(struct pxafb_info *fbi, struct pxafb_layer *ofb,
888888
ofb->fb.var.vmode = FB_VMODE_NONINTERLACED;
889889

890890
ofb->fb.fbops = &overlay_fb_ops;
891-
ofb->fb.flags = FBINFO_FLAG_DEFAULT;
892891
ofb->fb.node = -1;
893892
ofb->fb.pseudo_palette = NULL;
894893

0 commit comments

Comments
 (0)