]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
net: ethernet: remove redundant include
authorzhong jiang <zhongjiang@huawei.com>
Tue, 18 Sep 2018 08:10:13 +0000 (16:10 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 19 Sep 2018 03:07:27 +0000 (20:07 -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/ethernet/amazon/ena/ena_netdev.c
drivers/net/ethernet/atheros/atlx/atl1.c
drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c
drivers/net/ethernet/ibm/ibmveth.c

index 29b5774dd32d47e5ad2c43e78b599493f011d129..b2522e84f482564812808d587e197495555348d5 100644 (file)
@@ -39,7 +39,6 @@
 #include <linux/if_vlan.h>
 #include <linux/kernel.h>
 #include <linux/module.h>
-#include <linux/moduleparam.h>
 #include <linux/numa.h>
 #include <linux/pci.h>
 #include <linux/utsname.h>
index b81fbf119bce314a9e2f282672dccd9712139eaa..72e7fa71e84c5ad0896cd80568f719a761daaef3 100644 (file)
@@ -63,7 +63,6 @@
 #include <linux/jiffies.h>
 #include <linux/mii.h>
 #include <linux/module.h>
-#include <linux/moduleparam.h>
 #include <linux/net.h>
 #include <linux/netdevice.h>
 #include <linux/pci.h>
index a19172dbe6be272d9a168302bab18f551a687a17..921dd71f9cda0999d16682c12ddc2ad0e1d87361 100644 (file)
@@ -33,7 +33,6 @@
 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
 
 #include <linux/module.h>
-#include <linux/moduleparam.h>
 #include <linux/init.h>
 #include <linux/pci.h>
 #include <linux/dma-mapping.h>
index 525d8b89187b9b92eec16f2c33bc33c7524a3e4e..a4681780a55d2e415e755b271585a9983c6ac5dc 100644 (file)
@@ -24,7 +24,6 @@
  */
 
 #include <linux/module.h>
-#include <linux/moduleparam.h>
 #include <linux/types.h>
 #include <linux/errno.h>
 #include <linux/dma-mapping.h>