Module Name:    xsrc
Committed By:   christos
Date:           Mon Feb  9 17:44:22 UTC 2015

Modified Files:
        xsrc/external/mit/xorg-server/dist/hw/xfree86/common: compiler.h

Log Message:
remove superfluous casts.


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 \
    xsrc/external/mit/xorg-server/dist/hw/xfree86/common/compiler.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: xsrc/external/mit/xorg-server/dist/hw/xfree86/common/compiler.h
diff -u xsrc/external/mit/xorg-server/dist/hw/xfree86/common/compiler.h:1.11 xsrc/external/mit/xorg-server/dist/hw/xfree86/common/compiler.h:1.12
--- xsrc/external/mit/xorg-server/dist/hw/xfree86/common/compiler.h:1.11	Wed Jan 15 19:45:03 2014
+++ xsrc/external/mit/xorg-server/dist/hw/xfree86/common/compiler.h	Mon Feb  9 12:44:22 2015
@@ -950,42 +950,42 @@ static __inline__ void
 outb(unsigned short port, unsigned char value)
 {
         if(ioBase == MAP_FAILED) return;
-        xf86WriteMmio8((void *)ioBase, port, value);
+        xf86WriteMmio8(ioBase, port, value);
 }
 
 static __inline__ void
 outw(unsigned short port, unsigned short value)
 {
         if(ioBase == MAP_FAILED) return;
-        xf86WriteMmio16Le((void *)ioBase, port, value);
+        xf86WriteMmio16Le(ioBase, port, value);
 }
 
 static __inline__ void
 outl(unsigned short port, unsigned int value)
 {
         if(ioBase == MAP_FAILED) return;
-        xf86WriteMmio32Le((void *)ioBase, port, value);
+        xf86WriteMmio32Le(ioBase, port, value);
 }
 
 static __inline__ unsigned int
 inb(unsigned short port)
 {
         if(ioBase == MAP_FAILED) return 0;
-        return xf86ReadMmio8((void *)ioBase, port);
+        return xf86ReadMmio8(ioBase, port);
 }
 
 static __inline__ unsigned int
 inw(unsigned short port)
 {
         if(ioBase == MAP_FAILED) return 0;
-        return xf86ReadMmio16Le((void *)ioBase, port);
+        return xf86ReadMmio16Le(ioBase, port);
 }
 
 static __inline__ unsigned int
 inl(unsigned short port)
 {
         if(ioBase == MAP_FAILED) return 0;
-        return xf86ReadMmio32Le((void *)ioBase, port);
+        return xf86ReadMmio32Le(ioBase, port);
 }
 
 #elif defined(__arm__) && defined(__linux__)

Reply via email to