diff options
author | Thomas Zimmermann <tzimmermann@suse.de> | 2023-07-15 21:51:45 +0300 |
---|---|---|
committer | Thomas Zimmermann <tzimmermann@suse.de> | 2023-07-24 17:50:38 +0300 |
commit | a0331a4bde9dea3dffe37b6348e6509708e42e33 (patch) | |
tree | dbd224bad8e96de05a35eb61781d68355828e4c4 /drivers/video/fbdev/pxafb.c | |
parent | 6304da8a91da8f09c3a649b70b49ed2090d41ade (diff) | |
download | linux-a0331a4bde9dea3dffe37b6348e6509708e42e33.tar.xz |
fbdev: Remove FBINFO_DEFAULT from kzalloc()'ed structs
The flag FBINFO_DEFAULT is 0 and has no effect, as struct fbinfo.flags
has been allocated to zero by 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.
v4:
* clarify commit message (Geert, Dan)
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>
Cc: Russell King <linux@armlinux.org.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20230715185343.7193-4-tzimmermann@suse.de
Diffstat (limited to 'drivers/video/fbdev/pxafb.c')
0 files changed, 0 insertions, 0 deletions