Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1602119 > unrolled thread

[PATCH] net: ethernet: fs_enet: Remove useless includes

Started byChristophe Leroy <christophe.leroy@c-s.fr>
First post2017-03-16 10:20 +0100
Last post2017-03-16 19:20 +0100
Articles 2 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH] net: ethernet: fs_enet: Remove useless includes Christophe Leroy <christophe.leroy@c-s.fr> - 2017-03-16 10:20 +0100
    Re: [PATCH] net: ethernet: fs_enet: Remove useless includes David Miller <davem@davemloft.net> - 2017-03-16 19:20 +0100

#1602119 — [PATCH] net: ethernet: fs_enet: Remove useless includes

FromChristophe Leroy <christophe.leroy@c-s.fr>
Date2017-03-16 10:20 +0100
Subject[PATCH] net: ethernet: fs_enet: Remove useless includes
Message-ID<tlzJE-4xJ-23@gated-at.bofh.it>
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>
---
 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(-)

diff --git a/drivers/net/ethernet/freescale/fs_enet/mac-fec.c b/drivers/net/ethernet/freescale/fs_enet/mac-fec.c
index db9c0bcf54cd..1fc27c97e3b2 100644
--- a/drivers/net/ethernet/freescale/fs_enet/mac-fec.c
+++ b/drivers/net/ethernet/freescale/fs_enet/mac-fec.c
@@ -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"
 
diff --git a/drivers/net/ethernet/freescale/fs_enet/mac-scc.c b/drivers/net/ethernet/freescale/fs_enet/mac-scc.c
index 96d44cf44fe0..64300ac13e02 100644
--- a/drivers/net/ethernet/freescale/fs_enet/mac-scc.c
+++ b/drivers/net/ethernet/freescale/fs_enet/mac-scc.c
@@ -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"
 
 /*************************************************/
-- 
2.12.0

[toc] | [next] | [standalone]


#1602734

FromDavid Miller <davem@davemloft.net>
Date2017-03-16 19:20 +0100
Message-ID<tlIae-2ba-23@gated-at.bofh.it>
In reply to#1602119
From: Christophe Leroy <christophe.leroy@c-s.fr>
Date: Thu, 16 Mar 2017 10:18:04 +0100 (CET)

> 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>

Applied.

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web