[PATCH v3 6/7] STAGING: cxt1e1: More formatting fixes
Michael Welling
mwelling at ieee.org
Sun Mar 23 16:17:59 UTC 2014
Removes parens as are not necessary for return.
Signed-off-by: Michael Welling <mwelling at ieee.org>
---
diff --git a/drivers/staging/cxt1e1/pmc93x6_eeprom.c b/drivers/staging/cxt1e1/pmc93x6_eeprom.c
index d7d240a..6153499 100644
--- a/drivers/staging/cxt1e1/pmc93x6_eeprom.c
+++ b/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;
}
/*------------------------------------------------------------------------
More information about the devel
mailing list