فهرست منبع

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>
zhong jiang 6 سال پیش
والد
کامیت
7052c5e128
2فایلهای تغییر یافته به همراه0 افزوده شده و 2 حذف شده
  1. 0 1
      drivers/misc/mei/bus-fixup.c
  2. 0 1
      drivers/misc/vmw_vmci/vmci_host.c

+ 0 - 1
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>

+ 0 - 1
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>