summaryrefslogtreecommitdiff
path: root/drivers/misc
diff options
context:
space:
mode:
authorzhong jiang <zhongjiang@huawei.com>2018-09-18 11:59:34 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-09-25 21:21:02 +0300
commit7052c5e12851ed5882ca0d0d201060511e8ffa02 (patch)
tree8bd7a7d4f152a80680d8ab85e9581b07abf48177 /drivers/misc
parentfa0218ef733e6f247a1a3986e3eb12460064ac77 (diff)
downloadlinux-7052c5e12851ed5882ca0d0d201060511e8ffa02.tar.xz
misc: remove redundant include moduleparam.h
module.h already contains moduleparam.h, so it is safe to remove the redundant include. The issue is detected with the help of Coccinelle. Signed-off-by: zhong jiang <zhongjiang@huawei.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/misc')
-rw-r--r--drivers/misc/mei/bus-fixup.c1
-rw-r--r--drivers/misc/vmw_vmci/vmci_host.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/drivers/misc/mei/bus-fixup.c b/drivers/misc/mei/bus-fixup.c
index a6f41f96f2a1..80215c312f0e 100644
--- a/drivers/misc/mei/bus-fixup.c
+++ b/drivers/misc/mei/bus-fixup.c
@@ -17,7 +17,6 @@
#include <linux/kernel.h>
#include <linux/sched.h>
#include <linux/module.h>
-#include <linux/moduleparam.h>
#include <linux/device.h>
#include <linux/slab.h>
#include <linux/uuid.h>
diff --git a/drivers/misc/vmw_vmci/vmci_host.c b/drivers/misc/vmw_vmci/vmci_host.c
index 83e0c95d20a4..be732e5ead75 100644
--- a/drivers/misc/vmw_vmci/vmci_host.c
+++ b/drivers/misc/vmw_vmci/vmci_host.c
@@ -15,7 +15,6 @@
#include <linux/vmw_vmci_defs.h>
#include <linux/vmw_vmci_api.h>
-#include <linux/moduleparam.h>
#include <linux/miscdevice.h>
#include <linux/interrupt.h>
#include <linux/highmem.h>