diff options
author | Thomas Zimmermann <tzimmermann@suse.de> | 2023-07-15 21:51:55 +0300 |
---|---|---|
committer | Thomas Zimmermann <tzimmermann@suse.de> | 2023-07-24 17:50:39 +0300 |
commit | 252b7b147c7b17a4993f834456712621e849fa0e (patch) | |
tree | 98c804ba59943381dfa66e7dbf8c24526fe24d07 /drivers/video/fbdev/gxt4500.c | |
parent | cdeb052cdb1944948eeac69274f4c305345ddd22 (diff) | |
download | linux-252b7b147c7b17a4993f834456712621e849fa0e.tar.xz |
fbdev: Remove FBINFO_FLAG_DEFAULT from kzalloc()'ed structs
The flag FBINFO_FLAG_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>
Link: https://patchwork.freedesktop.org/patch/msgid/20230715185343.7193-14-tzimmermann@suse.de
Diffstat (limited to 'drivers/video/fbdev/gxt4500.c')
0 files changed, 0 insertions, 0 deletions