Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1430396 > unrolled thread

[PATCH] caif: Remove unneeded header file

Started byAmitoj Kaur Chawla <amitoj1606@gmail.com>
First post2016-06-24 08:30 +0200
Last post2016-06-28 11:30 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH] caif: Remove unneeded header file Amitoj Kaur Chawla <amitoj1606@gmail.com> - 2016-06-24 08:30 +0200
    Re: [PATCH] caif: Remove unneeded header file David Miller <davem@davemloft.net> - 2016-06-28 11:30 +0200

#1430396 — [PATCH] caif: Remove unneeded header file

FromAmitoj Kaur Chawla <amitoj1606@gmail.com>
Date2016-06-24 08:30 +0200
Subject[PATCH] caif: Remove unneeded header file
Message-ID<rNsMN-4xV-9@gated-at.bofh.it>
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(-)

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>
-- 
1.9.1

[toc] | [next] | [standalone]


#1432678

FromDavid Miller <davem@davemloft.net>
Date2016-06-28 11:30 +0200
Message-ID<rOXvc-50U-29@gated-at.bofh.it>
In reply to#1430396
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.

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web