Skip to content

Commit 751f9a8

Browse files
author
Thomas Zimmermann
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 <[email protected]> Acked-by: Sam Ravnborg <[email protected]> Cc: Helge Deller <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
1 parent 7e2e439 commit 751f9a8

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

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)