projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f98eb6c
)
fbdev: Remove FB_DEFAULT_SYS_OPS
author
Thomas Zimmermann
<tzimmermann@suse.de>
Fri, 7 Jul 2023 08:32:02 +0000
(10:32 +0200)
committer
Thomas Zimmermann
<tzimmermann@suse.de>
Mon, 24 Jul 2023 18:14:43 +0000
(20:14 +0200)
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
include/linux/fb.h
patch
|
blob
|
history
diff --git
a/include/linux/fb.h
b/include/linux/fb.h
index cb23f7d7df10fe254ed17f786e7b500b4b3293f5..a63077154ff6c357a71de3b0f9fce4e66424a363 100644
(file)
--- a/
include/linux/fb.h
+++ b/
include/linux/fb.h
@@
-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
*/