2021-12-09 06:26:11

by Jiapeng Chong

[permalink] [raw]
Subject: [PATCH] drm: Remove duplicate include

Clean up the following includecheck warning:

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

Reported-by: Abaci Robot <[email protected]>
Signed-off-by: Jiapeng Chong <[email protected]>
---
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>
--
1.8.3.1