Skip to content

Commit 94fc7ad

Browse files
committed
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
1 parent f98eb6c commit 94fc7ad

1 file changed

Lines changed: 0 additions & 8 deletions

File tree

include/linux/fb.h

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -583,14 +583,6 @@ extern ssize_t fb_sys_write(struct fb_info *info, const char __user *buf,
583583
.fb_copyarea = sys_copyarea, \
584584
.fb_imageblit = sys_imageblit
585585

586-
#define __FB_DEFAULT_SYS_OPS_MMAP \
587-
.fb_mmap = NULL /* default implementation */
588-
589-
#define FB_DEFAULT_SYS_OPS \
590-
__FB_DEFAULT_SYS_OPS_RDWR, \
591-
__FB_DEFAULT_SYS_OPS_DRAW, \
592-
__FB_DEFAULT_SYS_OPS_MMAP
593-
594586
/*
595587
* Helpers for framebuffers in DMA-able memory
596588
*/

0 commit comments

Comments
 (0)