[MPlayer-cvslog] r31532 - trunk/vidix/sysdep/pci_linux.c

diego subversion at mplayerhq.hu
Wed Jun 23 13:36:40 CEST 2010


Author: diego
Date: Wed Jun 23 13:36:40 2010
New Revision: 31532

Log:
Remove pointless __linux__ preprocessor checks.
The file is only ever used if that preprocessor check is true.

Modified:
   trunk/vidix/sysdep/pci_linux.c

Modified: trunk/vidix/sysdep/pci_linux.c
==============================================================================
--- trunk/vidix/sysdep/pci_linux.c	Wed Jun 23 12:59:26 2010	(r31531)
+++ trunk/vidix/sysdep/pci_linux.c	Wed Jun 23 13:36:40 2010	(r31532)
@@ -110,7 +110,7 @@ static __inline__ int enable_os_io(void)
     dhahelper_initialized = -1;
 #endif
 
-#if defined(__powerpc__) && defined(__linux__)
+#ifdef __powerpc__
 /* should be fixed? */
 #else
     if (iopl(3) != 0)
@@ -131,7 +131,7 @@ static __inline__ int disable_os_io(void
 	close(dhahelper_fd);
     else
 #endif
-#if defined(__powerpc__) && defined(__linux__)
+#ifdef __powerpc__
 /* should be fixed? */
 #else
     if (iopl(0) != 0)
@@ -141,7 +141,7 @@ static __inline__ int disable_os_io(void
 }
 
 #if (defined(__powerpc__) || defined(__sparc__) || defined(__sparc64__) \
-    || defined(__x86_64__) || defined(__sh__)) && defined(__linux__) && !defined(CONFIG_SVGAHELPER)
+    || defined(__x86_64__) || defined(__sh__)) && !defined(CONFIG_SVGAHELPER)
 #define CONFIG_PCI_LINUX_PROC
 #endif
 


More information about the MPlayer-cvslog mailing list