2019-03-29 14:12:17 +08:00
|
|
|
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
2018-11-06 04:14:04 +08:00
|
|
|
From: zhong jiang <zhongjiang@huawei.com>
|
|
|
|
Date: Tue, 18 Sep 2018 16:59:34 +0800
|
2019-03-29 14:12:17 +08:00
|
|
|
Subject: [PATCH] misc: remove redundant include moduleparam.h
|
2018-11-06 04:14:04 +08:00
|
|
|
|
|
|
|
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>
|
|
|
|
(cherry picked from commit 7052c5e12851ed5882ca0d0d201060511e8ffa02)
|
|
|
|
---
|
|
|
|
drivers/misc/mei/bus-fixup.c | 1 -
|
|
|
|
drivers/misc/vmw_vmci/vmci_host.c | 1 -
|
|
|
|
2 files changed, 2 deletions(-)
|
|
|
|
|
|
|
|
diff --git a/drivers/misc/mei/bus-fixup.c b/drivers/misc/mei/bus-fixup.c
|
2019-03-29 14:12:17 +08:00
|
|
|
index a6f41f9..80215c3 100644
|
2018-11-06 04:14:04 +08:00
|
|
|
--- 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
|
2019-03-29 14:12:17 +08:00
|
|
|
index 83e0c95..be732e5 100644
|
2018-11-06 04:14:04 +08:00
|
|
|
--- 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>
|
|
|
|
--
|
2019-03-29 14:12:17 +08:00
|
|
|
2.21.0
|
2018-11-06 04:14:04 +08:00
|
|
|
|