misc: remove redundant include moduleparam.h
PATCH 1/1 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.
eePlease enter the commit message for your changes. Lines starting
--- drivers/misc/mei/bus-fixup.c | 1 - drivers/misc/vmw_vmci/vmci_host.c | 1 - 2 files changed, 2 deletions(-)
drivers/misc/mei/bus-fixup.c +0 -1
@@ -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>
drivers/misc/vmw_vmci/vmci_host.c +0 -1
@@ -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>
Signature · 1 line
1.7.12.4
drivers/misc/mei/bus-fixup.c
Quoted 17 lines
module.halready containsmoduleparam.h, so it is safe to remove the redundant include.The issue is detected with the help of Coccinelle.
eePlease enter the commit message for your changes. Lines starting
Signed-off-by zhong jiang <[email protected]>--- drivers/misc/mei/bus-fixup.c | 1 - drivers/misc/vmw_vmci/vmci_host.c | 1 - 2 files changed, 2 deletions(-)drivers/misc/mei/bus-fixup.c index renamed from drivers/misc/mei/bus-fixup.c +0
-0a6f41f9..80215c3 100644
drivers/misc/mei/bus-fixup.c +0
-0
Ack.
Tomas
Quoted 23 lines
drivers/misc/mei/bus-fixup.c +0
-1@@ -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> drivers/misc/vmw_vmci/vmci_host.c +0
-2@@ -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> --1.7.12.4
Greg KH
maintainerQuoted 6 lines · zhong jiang
module.halready containsmoduleparam.h, so it is safe to remove the redundant include.The issue is detected with the help of Coccinelle.
eePlease enter the commit message for your changes. Lines starting
Odd line to have in a changelog text :)
Please fix up and resend.
tanks,
greg k-h
Quoted 10 lines · Greg KH
Quoted 6 lines · zhong jiang
module.halready containsmoduleparam.h, so it is safe to remove the redundant include.The issue is detected with the help of Coccinelle.
eePlease enter the commit message for your changes. Lines starting
Odd line to have in a changelog text :)
Please fix up and resend.
It's my fault to have a odd line. I will resend. Thanks.
Sincerely,
zhong jiang
Quoted 6 lines
tanks,
greg k-h
.