]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
STAGING: cxt1e1: More formatting fixes
authorMichael Welling <mwelling@ieee.org>
Sun, 23 Mar 2014 16:17:59 +0000 (11:17 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 18 Apr 2014 22:58:31 +0000 (15:58 -0700)
Removes parens as are not necessary for return.

Signed-off-by: Michael Welling <mwelling@ieee.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/cxt1e1/pmc93x6_eeprom.c

index d7d240a1747b652d6a36e1dbfbfde3de668358ce..6153499363143664909383da75ff54a9cca08b6f 100644 (file)
@@ -334,7 +334,7 @@ static int pmc_eeprom_write(long addr, long mem_offset, u_int32_t data)
                if (temp & EPROM_ACTIVE_IN_BIT) {
                        /* Remove Chip Select from EEPROM */
                        pci_write_32((u_int32_t *) addr, 0);
-                       return (1);
+                       return 1;
                }
        }
        count = 1000;
@@ -347,9 +347,9 @@ static int pmc_eeprom_write(long addr, long mem_offset, u_int32_t data)
        }
 
        if (count == -1)
-               return (2);
+               return 2;
 
-       return (0);
+       return 0;
 }
 
 /*------------------------------------------------------------------------