summaryrefslogtreecommitdiffstats
path: root/vidix/sysdep/pci_linux.c
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-05-16 00:13:03 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-05-16 00:13:03 +0000
commit3acba2c82d002736a5917ad412b34ee0416ba2ac (patch)
treeb30a0a98e033894544af0a328f6aff3b6d4f8e36 /vidix/sysdep/pci_linux.c
parent7c0eee9bce417dccfce072bce38e50a4321b96a9 (diff)
downloadmpv-3acba2c82d002736a5917ad412b34ee0416ba2ac.tar.bz2
mpv-3acba2c82d002736a5917ad412b34ee0416ba2ac.tar.xz
cosmetics: Remove useless parentheses from return statements.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26785 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'vidix/sysdep/pci_linux.c')
-rw-r--r--vidix/sysdep/pci_linux.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/vidix/sysdep/pci_linux.c b/vidix/sysdep/pci_linux.c
index 5e46f89fe9..07d9566563 100644
--- a/vidix/sysdep/pci_linux.c
+++ b/vidix/sysdep/pci_linux.c
@@ -96,7 +96,7 @@ static __inline__ int enable_os_io(void)
if (svgahelper_fd > 0)
{
svgahelper_initialized = 1;
- return(0);
+ return 0;
}
svgahelper_initialized = -1;
#endif
@@ -106,7 +106,7 @@ static __inline__ int enable_os_io(void)
if (dhahelper_fd > 0)
{
dhahelper_initialized = 1;
- return(0);
+ return 0;
}
dhahelper_initialized = -1;
#endif
@@ -115,9 +115,9 @@ static __inline__ int enable_os_io(void)
/* should be fixed? */
#else
if (iopl(3) != 0)
- return(errno);
+ return errno;
#endif
- return(0);
+ return 0;
}
static __inline__ int disable_os_io(void)
@@ -136,9 +136,9 @@ static __inline__ int disable_os_io(void)
/* should be fixed? */
#else
if (iopl(0) != 0)
- return(errno);
+ return errno;
#endif
- return(0);
+ return 0;
}
#if (defined(__powerpc__) || defined(__sparc__) || defined(__sparc64__) \