mirror of
https://github.com/torvalds/linux.git
synced 2024-12-18 17:12:55 +00:00
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>
This commit is contained in:
parent
4a5f718409
commit
3e66a2aadd
@ -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; \
|
||||
|
Loading…
Reference in New Issue
Block a user