net: ethernet: fs_enet: Remove useless includes
Subsystems (3)
PATCH 1/1 net: ethernet: fs_enet: Remove useless includes
CONFIG_8xx is being deprecated. Since the includes dependent on CONFIG_8xx are useless, just drop them.
Signed-off-by Christophe Leroy <[email protected]>
--- drivers/net/ethernet/freescale/fs_enet/mac-fec.c | 6 ------ drivers/net/ethernet/freescale/fs_enet/mac-scc.c | 6 ------ 2 files changed, 12 deletions(-)
drivers/net/ethernet/freescale/fs_enet/mac-fec.c +0 -6
@@ -38,12 +38,6 @@#include <asm/irq.h> #include <linux/uaccess.h> -#ifdef CONFIG_8xx -#include <asm/8xx_immap.h> -#include <asm/pgtable.h> -#include <asm/cpm1.h> -#endif -#include "fs_enet.h" #include "fec.h"
drivers/net/ethernet/freescale/fs_enet/mac-scc.c +0 -6
@@ -37,12 +37,6 @@#include <asm/irq.h> #include <linux/uaccess.h> -#ifdef CONFIG_8xx -#include <asm/8xx_immap.h> -#include <asm/pgtable.h> -#include <asm/cpm1.h> -#endif -#include "fs_enet.h" /*************************************************/
Signature · 1 line
2.12.0
From: Christophe Leroy <[email protected]>
Date: Thu, 16 Mar 2017 10:18:04 +0100 (CET)
Quoted 4 lines
CONFIG_8xxis being deprecated. Since the includes dependent onCONFIG_8xxare useless, just drop them.Signed-off-by Christophe Leroy <[email protected]>
Applied.