[PATCH] gpu: drm: Fix duplicate included linux/module.h

Haowen Bai baihaowen at meizu.com
Wed Mar 23 03:08:50 UTC 2022


Clean up the following includecheck warning:

drivers/gpu/drm/drm_gem_shmem_helper.c: linux/module.h is
included more than once.

No functional change.

Signed-off-by: Haowen Bai <baihaowen at meizu.com>
---
 drivers/gpu/drm/drm_gem_shmem_helper.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/gpu/drm/drm_gem_shmem_helper.c b/drivers/gpu/drm/drm_gem_shmem_helper.c
index 62192411..7915047 100644
--- a/drivers/gpu/drm/drm_gem_shmem_helper.c
+++ b/drivers/gpu/drm/drm_gem_shmem_helper.c
@@ -10,7 +10,6 @@
 #include <linux/shmem_fs.h>
 #include <linux/slab.h>
 #include <linux/vmalloc.h>
-#include <linux/module.h>
 
 #ifdef CONFIG_X86
 #include <asm/set_memory.h>
-- 
2.7.4



More information about the dri-devel mailing list