OSDN Git Service

net: ethernet: fs_enet: Remove useless includes
authorChristophe Leroy <christophe.leroy@c-s.fr>
Thu, 16 Mar 2017 09:18:04 +0000 (10:18 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 16 Mar 2017 18:15:15 +0000 (11:15 -0700)
CONFIG_8xx is being deprecated. Since the includes dependent on
CONFIG_8xx are useless, just drop them.

Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/fs_enet/mac-fec.c
drivers/net/ethernet/freescale/fs_enet/mac-scc.c

index db9c0bc..1fc27c9 100644 (file)
 #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"
 
index 96d44cf..64300ac 100644 (file)
 #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"
 
 /*************************************************/