Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

fbdev: Remove constants of unused events

The constants FB_EVENT_MODE_CHANGE and FB_EVENT_BLANK are unused.
Remove them from the header file.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Acked-by: Simona Vetter <simona.vetter@ffwll.ch>
Link: https://lore.kernel.org/r/20250321095517.313713-12-tzimmermann@suse.de
Signed-off-by: Lee Jones <lee@kernel.org>

authored by

Thomas Zimmermann and committed by
Lee Jones
d32a0b56 dc2139c0

-6
-6
include/linux/fb.h
··· 129 129 * Register/unregister for framebuffer events 130 130 */ 131 131 132 - /* The resolution of the passed in fb_info about to change */ 133 - #define FB_EVENT_MODE_CHANGE 0x01 134 - 135 132 #ifdef CONFIG_GUMSTIX_AM200EPD 136 133 /* only used by mach-pxa/am200epd.c */ 137 134 #define FB_EVENT_FB_REGISTERED 0x05 138 135 #define FB_EVENT_FB_UNREGISTERED 0x06 139 136 #endif 140 - 141 - /* A display blank is requested */ 142 - #define FB_EVENT_BLANK 0x09 143 137 144 138 struct fb_event { 145 139 struct fb_info *info;