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/pci.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/pci.c')
-rw-r--r-- | vidix/pci.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/vidix/pci.c b/vidix/pci.c index 7ccedb9adb..a68eae7e32 100644 --- a/vidix/pci.c +++ b/vidix/pci.c @@ -107,7 +107,7 @@ static __inline__ unsigned long static swapl(unsigned long val) { unsigned char *p = (unsigned char *)&val; - return ((p[3] << 24) | (p[2] << 16) | (p[1] << 8) | (p[0] << 0)); + return (p[3] << 24) | (p[2] << 16) | (p[1] << 8) | (p[0] << 0); } @@ -534,7 +534,7 @@ int pci_scan(pciinfo_t *pci_list,unsigned *num_pci) ret = enable_os_io(); if (ret != 0) - return(ret); + return ret; if((pcr._configtype = pci_config_type()) == 0xFFFF) return ENODEV; @@ -713,17 +713,17 @@ int pci_config_read(unsigned char bus, unsigned char dev, unsigned char func, if (len != 4) { fprintf(stderr,"pci_config_read: Reading non-dword not supported!\n"); - return(ENOTSUP); + return ENOTSUP; } ret = enable_os_io(); if (ret != 0) - return(ret); + return ret; ret = pci_config_read_long(bus, dev, func, cmd); disable_os_io(); *val = ret; - return(0); + return 0; } int enable_app_io( void ) |