[PATCH r2 4/7] STAGING: cxt1e1: Remove sparse warnings and resolve checkpatch issues
Michael Welling
mwelling at ieee.org
Sun Mar 23 14:04:16 UTC 2014
Removes volatile variable.
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 572bd2e..ab6fa73 100644
--- a/drivers/staging/cxt1e1/pmc93x6_eeprom.c
+++ b/drivers/staging/cxt1e1/pmc93x6_eeprom.c
@@ -286,7 +286,7 @@ static u_int32_t pmc_eeprom_read(long addr, long mem_offset)
static int pmc_eeprom_write(long addr, long mem_offset, u_int32_t data)
{
- volatile u_int32_t temp;
+ u_int32_t temp;
int count;
if (!ByteReverseBuilt)
More information about the devel
mailing list