From: Malcolm Priestley Date: Sun, 10 Aug 2014 11:22:01 +0000 (+0100) Subject: staging: vt6655: upc.h: Remove unused macros X-Git-Tag: firefly_0821_release~176^2~3121^2~1313 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=3e66a2aadd5f89f0012ac4f66dd3456c5921a39e;p=firefly-linux-kernel-4.4.55.git staging: vt6655: upc.h: Remove unused macros PCBv* are not used Signed-off-by: Malcolm Priestley Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/vt6655/upc.h b/drivers/staging/vt6655/upc.h index e262f1b00e66..00e5a00a72e0 100644 --- a/drivers/staging/vt6655/upc.h +++ b/drivers/staging/vt6655/upc.h @@ -68,33 +68,6 @@ do { \ writel((unsigned long)dwData, dwIOAddress); \ } while (0) -// -// ALWAYS IO-Mapped IO when in 16-bit/32-bit environment -// -#define PCBvInPortB(dwIOAddress, pbyData) \ -do { \ - *(pbyData) = inb(dwIOAddress); \ -} while (0) - -#define PCBvInPortW(dwIOAddress, pwData) \ -do { \ - *(pwData) = inw(dwIOAddress); \ -} while (0) - -#define PCBvInPortD(dwIOAddress, pdwData) \ -do { \ - *(pdwData) = inl(dwIOAddress); \ -} while (0) - -#define PCBvOutPortB(dwIOAddress, byData) \ - outb(byData, dwIOAddress) - -#define PCBvOutPortW(dwIOAddress, wData) \ - outw(wData, dwIOAddress) - -#define PCBvOutPortD(dwIOAddress, dwData) \ - outl(dwData, dwIOAddress) - #define PCAvDelayByIO(uDelayUnit) \ do { \ unsigned char byData; \