summaryrefslogtreecommitdiffstats
path: root/vidix/sysdep/pci_os2.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_os2.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_os2.c')
-rw-r--r--vidix/sysdep/pci_os2.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/vidix/sysdep/pci_os2.c b/vidix/sysdep/pci_os2.c
index 09227fa573..002494f682 100644
--- a/vidix/sysdep/pci_os2.c
+++ b/vidix/sysdep/pci_os2.c
@@ -44,7 +44,7 @@ static __inline__ int enable_os_io(void)
(ULONG)0) != 0) {
fprintf(stderr,"Error opening fastio$ driver...\n");
fprintf(stderr,"Please install xf86sup.sys in config.sys!\n");
- return(42);
+ return 42;
}
callgate[0] = callgate[1] = 0;
@@ -57,7 +57,7 @@ static __inline__ int enable_os_io(void)
fprintf(stderr,"xf86-OS/2: EnableIOPorts failed, rc=%d, dlen=%d; emergency exit\n",
rc,dlen);
DosClose(hfd);
- return(42);
+ return 42;
}
/* Calling callgate with function 13 sets IOPL for the program */
@@ -68,11 +68,11 @@ static __inline__ int enable_os_io(void)
: "eax","ebx","ecx","edx","cc");
DosClose(hfd);
- return(0);
+ return 0;
}
static __inline__ int disable_os_io(void)
{
/* Nothing to do */
- return(0);
+ return 0;
}