diff options
author | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2008-05-16 00:13:03 +0000 |
---|---|---|
committer | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2008-05-16 00:13:03 +0000 |
commit | 3acba2c82d002736a5917ad412b34ee0416ba2ac (patch) | |
tree | b30a0a98e033894544af0a328f6aff3b6d4f8e36 /vidix/sysdep/pci_386bsd.c | |
parent | 7c0eee9bce417dccfce072bce38e50a4321b96a9 (diff) | |
download | mpv-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_386bsd.c')
-rw-r--r-- | vidix/sysdep/pci_386bsd.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/vidix/sysdep/pci_386bsd.c b/vidix/sysdep/pci_386bsd.c index 76c9fad459..3f7dd0f755 100644 --- a/vidix/sysdep/pci_386bsd.c +++ b/vidix/sysdep/pci_386bsd.c @@ -40,13 +40,13 @@ static __inline__ int enable_os_io(void) io_fd = -1 ; if ((io_fd = open("/dev/console", O_RDWR, 0)) < 0) { perror("/dev/console"); - return(errno); + return errno; } if (ioctl(io_fd, KDENABIO, 0) < 0) { perror("ioctl(KDENABIO)"); - return(errno); + return errno; } - return(0); + return 0; } static __inline__ int disable_os_io(void) @@ -54,8 +54,8 @@ static __inline__ int disable_os_io(void) if (ioctl(io_fd, KDDISABIO, 0) < 0) { perror("ioctl(KDDISABIO)"); close(io_fd); - return(errno); + return errno; } close(io_fd); - return(0); + return 0; } |