]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commitdiff
net: wan: remove redundant include
authorzhong jiang <zhongjiang@huawei.com>
Tue, 18 Sep 2018 08:19:35 +0000 (16:19 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 19 Sep 2018 03:08:08 +0000 (20:08 -0700)
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>
drivers/net/wan/c101.c
drivers/net/wan/pci200syn.c

index 2371e078afbbd57ac696467df456c6e55393baaf..91dbbde3c35b9faaacd603e7c88fee94ee39b4c6 100644 (file)
@@ -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>
index 4e437c599e9a5b9384dca958e4efa9395739e471..1f8a3f77a7b99dd8d07b231f6cc5f5213d507893 100644 (file)
@@ -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>