Commit a9392b09 authored by Christian Lütke-Stetzkamp's avatar Christian Lütke-Stetzkamp Committed by Greg Kroah-Hartman

staging: mt7621-mmc: Remove unused macros sdr_{read,write}16

The sdr_{read,write}16 macros are never used and does not provide any
information about the device, so they are removed.
Signed-off-by: default avatarChristian Lütke-Stetzkamp <christian@lkamp.de>
Reviewed-by: default avatarNeilBrown <neil@brown.name>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 36b73010
...@@ -980,10 +980,8 @@ static inline unsigned int uffs(unsigned int x) ...@@ -980,10 +980,8 @@ static inline unsigned int uffs(unsigned int x)
} }
#define sdr_read8(reg) readb(reg) #define sdr_read8(reg) readb(reg)
#define sdr_read16(reg) readw(reg)
#define sdr_read32(reg) readl(reg) #define sdr_read32(reg) readl(reg)
#define sdr_write8(reg, val) writeb(val, reg) #define sdr_write8(reg, val) writeb(val, reg)
#define sdr_write16(reg, val) writew(val, reg)
#define sdr_write32(reg, val) writel(val, reg) #define sdr_write32(reg, val) writel(val, reg)
static inline void sdr_set_bits(void __iomem *reg, u32 bs) static inline void sdr_set_bits(void __iomem *reg, u32 bs)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment