From: Sergio Paracuellos Date: Mon, 9 Jul 2018 20:21:03 +0000 (+0200) Subject: staging: mt7621-pci: remove unused macro MV_READ_DATA X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=fc4afdfea0428f8a564b62a6d668da95935b6cbf;p=openwrt%2Fstaging%2Fblogic.git staging: mt7621-pci: remove unused macro MV_READ_DATA This macro is not being used at all along the code. Just remove it. Signed-off-by: Sergio Paracuellos Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/mt7621-pci/pci-mt7621.c b/drivers/staging/mt7621-pci/pci-mt7621.c index c12447dfbc0f..89a57a02ae57 100644 --- a/drivers/staging/mt7621-pci/pci-mt7621.c +++ b/drivers/staging/mt7621-pci/pci-mt7621.c @@ -117,9 +117,6 @@ *(volatile u32 *)(RALINK_PCI_BASE+(ofs)) = cpu_to_le32(data) #define MV_READ(ofs, data) \ *(data) = le32_to_cpu(*(volatile u32 *)(RALINK_PCI_BASE+(ofs))) -#define MV_READ_DATA(ofs) \ - le32_to_cpu(*(volatile u32 *)(RALINK_PCI_BASE+(ofs))) - #define MV_WRITE_16(ofs, data) \ *(volatile u16 *)(RALINK_PCI_BASE+(ofs)) = cpu_to_le16(data) #define MV_READ_16(ofs, data) \