]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
fbdev: Remove constants of unused events
authorThomas Zimmermann <tzimmermann@suse.de>
Fri, 21 Mar 2025 09:54:04 +0000 (10:54 +0100)
committerLee Jones <lee@kernel.org>
Thu, 10 Apr 2025 09:39:14 +0000 (10:39 +0100)
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>
include/linux/fb.h

index 835e13d6eba82c315c4256daee5125dd692299ee..05cc251035da9837c87c3c6ae7de602b5718338e 100644 (file)
@@ -129,18 +129,12 @@ struct fb_cursor_user {
  * Register/unregister for framebuffer events
  */
 
-/*     The resolution of the passed in fb_info about to change */
-#define FB_EVENT_MODE_CHANGE           0x01
-
 #ifdef CONFIG_GUMSTIX_AM200EPD
 /* only used by mach-pxa/am200epd.c */
 #define FB_EVENT_FB_REGISTERED          0x05
 #define FB_EVENT_FB_UNREGISTERED        0x06
 #endif
 
-/*      A display blank is requested       */
-#define FB_EVENT_BLANK                  0x09
-
 struct fb_event {
        struct fb_info *info;
        void *data;