summaryrefslogtreecommitdiffstats
path: root/drivers/net/wan
diff options
context:
space:
mode:
authorzhong jiang <zhongjiang@huawei.com>2018-09-18 10:19:35 +0200
committerDavid S. Miller <davem@davemloft.net>2018-09-19 05:08:08 +0200
commitb9d957c5b10929a14b0a2b7f7d6f81e9ba6f828c (patch)
tree3b435b227ae4b6142e55a9e9e614b869d137cd12 /drivers/net/wan
parentnet: ethernet: remove redundant include (diff)
downloadlinux-b9d957c5b10929a14b0a2b7f7d6f81e9ba6f828c.tar.xz
linux-b9d957c5b10929a14b0a2b7f7d6f81e9ba6f828c.zip
net: wan: remove redundant include
module.h already contained 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: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/wan')
-rw-r--r--drivers/net/wan/c101.c1
-rw-r--r--drivers/net/wan/pci200syn.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/wan/c101.c b/drivers/net/wan/c101.c
index 2371e078afbb..91dbbde3c35b 100644
--- a/drivers/net/wan/c101.c
+++ b/drivers/net/wan/c101.c
@@ -24,7 +24,6 @@
#include <linux/string.h>
#include <linux/errno.h>
#include <linux/init.h>
-#include <linux/moduleparam.h>
#include <linux/netdevice.h>
#include <linux/hdlc.h>
#include <linux/delay.h>
diff --git a/drivers/net/wan/pci200syn.c b/drivers/net/wan/pci200syn.c
index 4e437c599e9a..1f8a3f77a7b9 100644
--- a/drivers/net/wan/pci200syn.c
+++ b/drivers/net/wan/pci200syn.c
@@ -27,7 +27,6 @@
#include <linux/errno.h>
#include <linux/init.h>
#include <linux/ioport.h>
-#include <linux/moduleparam.h>
#include <linux/netdevice.h>
#include <linux/hdlc.h>
#include <linux/pci.h>