2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2025-01-06 20:53:54 +08:00

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: Christian Lütke-Stetzkamp <christian@lkamp.de>
Reviewed-by: NeilBrown <neil@brown.name>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Christian Lütke-Stetzkamp 2018-04-29 19:32:21 +02:00 committed by Greg Kroah-Hartman
parent 36b730101d
commit a9392b099c

View File

@ -980,10 +980,8 @@ static inline unsigned int uffs(unsigned int x)
}
#define sdr_read8(reg) readb(reg)
#define sdr_read16(reg) readw(reg)
#define sdr_read32(reg) readl(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)
static inline void sdr_set_bits(void __iomem *reg, u32 bs)