[PATCH 05/12] net: smc91x: Remove dead code
Stephen Boyd
sboyd at codeaurora.org
Fri Mar 13 11:09:38 PDT 2015
This config no longer exists now that mach-msm has been removed.
Delete it and the associated code.
Cc: David S. Miller <davem at davemloft.net>
Cc: David Brown <davidb at codeaurora.org>
Cc: Bryan Huntsman <bryanh at codeaurora.org>
Cc: Daniel Walker <dwalker at fifo99.com>
Signed-off-by: Stephen Boyd <sboyd at codeaurora.org>
---
This can be acked and go through arm-soc or applied directly.
drivers/net/ethernet/smsc/smc91x.h | 14 --------------
1 file changed, 14 deletions(-)
diff --git a/drivers/net/ethernet/smsc/smc91x.h b/drivers/net/ethernet/smsc/smc91x.h
index be67baf5f677..6fd5643c4fba 100644
--- a/drivers/net/ethernet/smsc/smc91x.h
+++ b/drivers/net/ethernet/smsc/smc91x.h
@@ -237,20 +237,6 @@ SMC_outw(u16 val, void __iomem *ioaddr, int reg)
#define RPC_LSA_DEFAULT RPC_LED_100_10
#define RPC_LSB_DEFAULT RPC_LED_TX_RX
-#elif defined(CONFIG_ARCH_MSM)
-
-#define SMC_CAN_USE_8BIT 0
-#define SMC_CAN_USE_16BIT 1
-#define SMC_CAN_USE_32BIT 0
-#define SMC_NOWAIT 1
-
-#define SMC_inw(a, r) readw((a) + (r))
-#define SMC_outw(v, a, r) writew(v, (a) + (r))
-#define SMC_insw(a, r, p, l) readsw((a) + (r), p, l)
-#define SMC_outsw(a, r, p, l) writesw((a) + (r), p, l)
-
-#define SMC_IRQ_FLAGS IRQF_TRIGGER_HIGH
-
#elif defined(CONFIG_COLDFIRE)
#define SMC_CAN_USE_8BIT 0
--
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project
More information about the linux-arm-kernel
mailing list