Re: [PATCH 05/12] net: smc91x: Remove dead code

2015-03-13 Thread Arnd Bergmann
On Friday 13 March 2015 11:09:38 Stephen Boyd wrote:
> This config no longer exists now that mach-msm has been removed.
> Delete it and the associated code.
> 
> Cc: David S. Miller 
> Cc: David Brown 
> Cc: Bryan Huntsman 
> Cc: Daniel Walker 
> Signed-off-by: Stephen Boyd 
> ---
> 
> This can be acked and go through arm-soc or applied directly.
> 
>  drivers/net/ethernet/smsc/smc91x.h | 14 --
>  1 file changed, 14 deletions(-)
> 

David Miller already merged a patch that removes this and the other
platform specific parts of that file that are no longer needed.

Arnd
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[PATCH 05/12] net: smc91x: Remove dead code

2015-03-13 Thread Stephen Boyd
This config no longer exists now that mach-msm has been removed.
Delete it and the associated code.

Cc: David S. Miller 
Cc: David Brown 
Cc: Bryan Huntsman 
Cc: Daniel Walker 
Signed-off-by: Stephen Boyd 
---

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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/