Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

fbdev/core: Clean up include statements in fbmem.c

Remove all unnecessary include statements from fbmem.c. Most of
them were for functionality that has meanwhile been moved into
other files.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Acked-by: Javier Martinez Canillas <javierm@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230907085408.9354-8-tzimmermann@suse.de

+1 -18
+1 -18
drivers/video/fbdev/core/fbmem.c
··· 11 11 * for more details. 12 12 */ 13 13 14 - #include <linux/module.h> 15 - 16 - #include <linux/types.h> 17 - #include <linux/errno.h> 18 - #include <linux/kernel.h> 19 - #include <linux/slab.h> 20 - #include <linux/mm.h> 21 - #include <linux/mman.h> 22 - #include <linux/vt.h> 23 - #include <linux/init.h> 24 - #include <linux/platform_device.h> 25 14 #include <linux/console.h> 26 - #include <linux/kmod.h> 27 - #include <linux/err.h> 28 - #include <linux/device.h> 29 - #include <linux/efi.h> 15 + #include <linux/export.h> 30 16 #include <linux/fb.h> 31 17 #include <linux/fbcon.h> 32 - #include <linux/mem_encrypt.h> 33 - #include <linux/pci.h> 34 18 35 19 #include <video/nomodeset.h> 36 - #include <video/vga.h> 37 20 38 21 #include "fb_internal.h" 39 22