From: Axel Lin Date: Sat, 8 Feb 2014 14:46:02 +0000 (+0800) Subject: spi: omap-100k: Remove unused MOD_REG_BIT macro X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=d655bbbd5beead3643f6769adaa1f30bcddc3fe2;p=linux-beck.git spi: omap-100k: Remove unused MOD_REG_BIT macro Signed-off-by: Axel Lin Signed-off-by: Mark Brown --- diff --git a/drivers/spi/spi-omap-100k.c b/drivers/spi/spi-omap-100k.c index 0d32054bfc0d..657184a4644c 100644 --- a/drivers/spi/spi-omap-100k.c +++ b/drivers/spi/spi-omap-100k.c @@ -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;