From a161374df069d173e40881c8417ca95de5eb55f4 Mon Sep 17 00:00:00 2001 From: Michal Simek Date: Fri, 1 Dec 2017 14:25:45 +0100 Subject: [PATCH] net: xilinx_axi_emac: Remove in/out_be32 handling There is no need to handle this because conversion to readl/writel solved this issue. Signed-off-by: Michal Simek --- drivers/net/xilinx_axi_emac.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/drivers/net/xilinx_axi_emac.c b/drivers/net/xilinx_axi_emac.c index 0bf93f380f2..d3e2ef92836 100644 --- a/drivers/net/xilinx_axi_emac.c +++ b/drivers/net/xilinx_axi_emac.c @@ -72,13 +72,6 @@ DECLARE_GLOBAL_DATA_PTR; #define DMAALIGN 128 -#if defined(CONFIG_ARCH_ZYNQMP) || defined(CONFIG_ARCH_ZYNQ) -#undef out_be32 -#undef in_be32 -#define out_be32(off, val) writel(val, off) -#define in_be32(off) readl(off) -#endif - static u8 rxframe[PKTSIZE_ALIGN] __attribute((aligned(DMAALIGN))); /* Reflect dma offsets */ -- 2.47.3