diff mbox

caif: Remove unneeded header file

Message ID 20160624062354.GA23515@amitoj-Inspiron-3542
State Accepted, archived
Delegated to: David Miller
Headers show

Commit Message

Amitoj Kaur Chawla June 24, 2016, 6:23 a.m. UTC
Drop redundant include of moduleparam.h

The Coccinelle semantic patch used to make this change is as follows:
@ includesmodule @
@@

#include <linux/module.h>

@ depends on includesmodule @
@@

- #include <linux/moduleparam.h>

Signed-off-by: Amitoj Kaur Chawla <amitoj1606@gmail.com>
---
 net/caif/chnl_net.c | 1 -
 1 file changed, 1 deletion(-)

Comments

David Miller June 28, 2016, 9:26 a.m. UTC | #1
From: Amitoj Kaur Chawla <amitoj1606@gmail.com>
Date: Fri, 24 Jun 2016 11:53:54 +0530

> Drop redundant include of moduleparam.h
> 
> The Coccinelle semantic patch used to make this change is as follows:
> @ includesmodule @
> @@
> 
> #include <linux/module.h>
> 
> @ depends on includesmodule @
> @@
> 
> - #include <linux/moduleparam.h>
> 
> Signed-off-by: Amitoj Kaur Chawla <amitoj1606@gmail.com>

Applied, thanks.
diff mbox

Patch

diff --git a/net/caif/chnl_net.c b/net/caif/chnl_net.c
index 67a4a36..3408ed5 100644
--- a/net/caif/chnl_net.c
+++ b/net/caif/chnl_net.c
@@ -13,7 +13,6 @@ 
 #include <linux/module.h>
 #include <linux/netdevice.h>
 #include <linux/if_ether.h>
-#include <linux/moduleparam.h>
 #include <linux/ip.h>
 #include <linux/sched.h>
 #include <linux/sockios.h>