Fix duplicate #include headers
Subsystems (4)
cover Fix duplicate #include headers
This tiny series fixes the same issue of duplicate #include headers.
Jean Sacren (2):
sxgbe: fix duplicate #include headers
mac802154: fix duplicate #include headers
drivers/net/ethernet/samsung/sxgbe/sxgbe_dma.c | 1 - net/mac802154/mib.c | 1 - 2 files changed, 2 deletions(-)
PATCH 1/2 sxgbe: fix duplicate #include headers
The commit 1edb9ca69e8a ("net: sxgbe: add basic framework for Samsung 10Gb ethernet driver") added support for Samsung 10Gb ethernet driver(sxgbe) with a minor issue of including linux/io.h header twice in sxgbe_dma.c file. Fix the duplicate #include by deleting the top one so that all the rest good #include headers would be preserved in the alphabetical order.
--- drivers/net/ethernet/samsung/sxgbe/sxgbe_dma.c | 1 - 1 file changed, 1 deletion(-)
drivers/net/ethernet/samsung/sxgbe/sxgbe_dma.c +0 -1
@@ -9,7 +9,6 @@* it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. */ -#include <linux/io.h> #include <linux/delay.h> #include <linux/export.h> #include <linux/io.h>
RE: [PATCH net 1/2] sxgbe: fix duplicate #include headers
Quoted 10 lines · Jean Sacren
The commit
1edb9ca69e8a("net: sxgbe: add basic framework for Samsung 10Gb ethernet driver") added support for Samsung 10Gb ethernet driver(sxgbe) with a minor issue of includinglinux/io.hheader twice insxgbe_dma.cfile. Fix the duplicate #include by deleting the top one so that all the rest good #include headers would be preserved in the alphabetical order.Signed-off-by Jean Sacren <[email protected]>Cc Byungho An <[email protected]>
Thanks,
Byungho
Quoted 20 lines
Cc Girish K S <[email protected]>Cc Siva Reddy Kallam <[email protected]>Cc Vipul Pandya <[email protected]>--- drivers/net/ethernet/samsung/sxgbe/sxgbe_dma.c | 1 - 1 file changed, 1 deletion(-)drivers/net/ethernet/samsung/sxgbe/sxgbe_dma.c +0
-1@@ -9,7 +9,6 @@* it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. */ -#include <linux/io.h> #include <linux/delay.h> #include <linux/export.h> #include <linux/io.h>
PATCH 2/2 mac802154: fix duplicate #include headers
In reply to Jean SacrenThe commit e6278d92005e ("mac802154: use header operations to create/parse headers") included the header
net/ieee802154_netdev.h
which had been included by the commit b70ab2e87f17 ("ieee802154:
enforce consistent endianness in the 802.15.4 stack"). Fix this duplicate #include by deleting the latter one as the required header has already been in place.
--- net/mac802154/mib.c | 1 - 1 file changed, 1 deletion(-)
net/mac802154/mib.c +0 -1
@@ -26,7 +26,6 @@#include <net/mac802154.h> #include <net/ieee802154_netdev.h> #include <net/wpan-phy.h> -#include <net/ieee802154_netdev.h> #include "mac802154.h"
David Miller
maintainerFrom: Jean Sacren <[email protected]>
Date: Sat, 5 Apr 2014 00:28:59 -0600
Quoted 5 lines
This tiny series fixes the same issue of duplicate #include headers.
Jean Sacren (2):
sxgbe: fix duplicate #include headers
mac802154: fix duplicate #include headers
Both applied, thanks.