comparison vidix/sysdep/AsmMacros_powerpc.h @ 26753:502f04b67653

cosmetics: Remove useless parentheses from return statements.
author diego
date Fri, 16 May 2008 00:13:03 +0000
parents a93e46adb54c
children b5a46071062a
comparison
equal deleted inserted replaced
26752:65f61607e32f 26753:502f04b67653
88 88
89 static __inline__ unsigned char inb(short port) 89 static __inline__ unsigned char inb(short port)
90 { 90 {
91 unsigned char val; 91 unsigned char val;
92 val = *((unsigned char *)(ioBase + port)); eieio(); 92 val = *((unsigned char *)(ioBase + port)); eieio();
93 return(val); 93 return val;
94 } 94 }
95 95
96 static __inline__ unsigned short inw(short port) 96 static __inline__ unsigned short inw(short port)
97 { 97 {
98 unsigned short val; 98 unsigned short val;
99 val = *((unsigned short *)(ioBase + port)); eieio(); 99 val = *((unsigned short *)(ioBase + port)); eieio();
100 return(val); 100 return val;
101 } 101 }
102 102
103 static __inline__ unsigned long inl(short port) 103 static __inline__ unsigned long inl(short port)
104 { 104 {
105 unsigned long val; 105 unsigned long val;
106 val = *((unsigned long *)(ioBase + port)); eieio(); 106 val = *((unsigned long *)(ioBase + port)); eieio();
107 return(val); 107 return val;
108 } 108 }
109 109
110 #define intr_disable() 110 #define intr_disable()
111 #define intr_enable() 111 #define intr_enable()
112 112