fbdev: Remove FB_DEFAULT_SYS_OPS

Remove the initializer macro FB_DEFAULT_SYS_OPS and its helper macro
__FB_DEFAULT_SYS_OPS_MMAP. There are no users.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Javier Martinez Canillas <javierm@redhat.com>
Acked-by: Maxime Ripard <mripard@kernel.org>
Cc: Helge Deller <deller@gmx.de> (maintainer:FRAMEBUFFER LAYER)
Link: https://patchwork.freedesktop.org/patch/msgid/20230707083422.18691-12-tzimmermann@suse.de
This commit is contained in:
Thomas Zimmermann
2023-07-07 10:32:02 +02:00
parent f98eb6c0ea
commit 94fc7ad91b

View File

@@ -583,14 +583,6 @@ extern ssize_t fb_sys_write(struct fb_info *info, const char __user *buf,
.fb_copyarea = sys_copyarea, \
.fb_imageblit = sys_imageblit
#define __FB_DEFAULT_SYS_OPS_MMAP \
.fb_mmap = NULL /* default implementation */
#define FB_DEFAULT_SYS_OPS \
__FB_DEFAULT_SYS_OPS_RDWR, \
__FB_DEFAULT_SYS_OPS_DRAW, \
__FB_DEFAULT_SYS_OPS_MMAP
/*
* Helpers for framebuffers in DMA-able memory
*/