Skip to contentSkip to conversation

spi: omap-100k: Remove unused MOD_REG_BIT macro

PATCH Applied Axel Lin 2 participants 2 messages Feb 8, 2014 – Feb 10, 2014 SPI

lore
Share & tools
lore

Axel Lin

author
#0 lore raw

PATCH 1/1 spi: omap-100k: Remove unused MOD_REG_BIT macro

---
 drivers/spi/spi-omap-100k.c | 7 -------
 1 file changed, 7 deletions(-)
drivers/spi/spi-omap-100k.c +0 -7
index 0d32054..657184a 100644
@@ -99,13 +99,6 @@ struct omap1_spi100k_cs {
 	int                     word_len;
 };
 
-#define MOD_REG_BIT(val, mask, set) do { \
-	if (set) \
-		val |= mask; \
-	else \
-		val &= ~mask; \
-} while (0)
-
 static void spi100k_enable_clock(struct spi_master *master)
 {
 	unsigned int val;
Signature · 8 lines
1.8.1.2



--
To unsubscribe from this list: send the line "unsubscribe linux-spi" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html