Browse Source

STAGING: cxt1e1: More formatting fixes

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>
Michael Welling 11 years ago
parent
commit
eef74d4aaa
1 changed files with 3 additions and 3 deletions
  1. 3 3
      drivers/staging/cxt1e1/pmc93x6_eeprom.c

+ 3 - 3
drivers/staging/cxt1e1/pmc93x6_eeprom.c

@@ -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;
 }
 
 /*------------------------------------------------------------------------