浏览代码

spi: omap-100k: Remove unused MOD_REG_BIT macro

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
Axel Lin 12 年之前
父节点
当前提交
d655bbbd5b
共有 1 个文件被更改,包括 0 次插入7 次删除
  1. 0 7
      drivers/spi/spi-omap-100k.c

+ 0 - 7
drivers/spi/spi-omap-100k.c

@@ -99,13 +99,6 @@ struct omap1_spi100k_cs {
 	int                     word_len;
 	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)
 static void spi100k_enable_clock(struct spi_master *master)
 {
 {
 	unsigned int val;
 	unsigned int val;