summaryrefslogtreecommitdiffstats
path: root/drivers/staging/vt6655/upc.h
diff options
context:
space:
mode:
authorMalcolm Priestley <tvboxspy@gmail.com>2014-08-10 12:22:01 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-08-16 12:23:15 -0700
commit3e66a2aadd5f89f0012ac4f66dd3456c5921a39e (patch)
tree479cf84e0f6cff9cd816121c7deab101e04d0a64 /drivers/staging/vt6655/upc.h
parent4a5f718409f92f3bc12ee8020a4874d004f612ba (diff)
downloadop-kernel-dev-3e66a2aadd5f89f0012ac4f66dd3456c5921a39e.zip
op-kernel-dev-3e66a2aadd5f89f0012ac4f66dd3456c5921a39e.tar.gz
staging: vt6655: upc.h: Remove unused macros
PCBv* are not used Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/vt6655/upc.h')
-rw-r--r--drivers/staging/vt6655/upc.h27
1 files changed, 0 insertions, 27 deletions
diff --git a/drivers/staging/vt6655/upc.h b/drivers/staging/vt6655/upc.h
index e262f1b0..00e5a00 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; \
OpenPOWER on IntegriCloud