From: Thomas Zimmermann Date: Fri, 21 Mar 2025 09:54:04 +0000 (+0100) Subject: fbdev: Remove constants of unused events X-Git-Tag: v6.16-rc1~61^2~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d32a0b567a8a8b6e677d35c4f8eb8bd32b7029a0;p=thirdparty%2Flinux.git 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 Acked-by: Simona Vetter Link: https://lore.kernel.org/r/20250321095517.313713-12-tzimmermann@suse.de Signed-off-by: Lee Jones --- diff --git a/include/linux/fb.h b/include/linux/fb.h index 835e13d6eba82..05cc251035da9 100644 --- a/include/linux/fb.h +++ b/include/linux/fb.h @@ -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;