diff options
author | Christian Lütke-Stetzkamp <christian@lkamp.de> | 2018-04-29 19:32:21 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-05-06 19:08:05 -0700 |
commit | a9392b099c77b098166a44d56e40a96dccd54e5f (patch) | |
tree | d11f8c12b5d44c473c282e31a6b9155a602f6cff /drivers/staging/mt7621-mmc | |
parent | 36b730101d9bc5236d107c73d7fd8d5d84031376 (diff) |
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>
Diffstat (limited to 'drivers/staging/mt7621-mmc')
-rw-r--r-- | drivers/staging/mt7621-mmc/mt6575_sd.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/staging/mt7621-mmc/mt6575_sd.h b/drivers/staging/mt7621-mmc/mt6575_sd.h index b77f8412ae2c..62e6beefa3db 100644 --- a/drivers/staging/mt7621-mmc/mt6575_sd.h +++ b/drivers/staging/mt7621-mmc/mt6575_sd.h @@ -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) |