summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorSudip Mukherjee <sudipm.mukherjee@gmail.com>2015-03-10 14:15:36 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-03-10 16:02:35 +0100
commitc97df7c2c0692ebed4eff9abaf61a8e12cc250ed (patch)
treebb7c87cce07f6cbaba8d62ce76dc1cbb0a0026d9 /drivers
parente936351a611bca2ebd37634d81d168e6585e3634 (diff)
staging: sm750fb: remove pragma optimize
remove use of #pragma optimize which will usually be ignored by the compiler. Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/staging/sm750fb/ddk750_swi2c.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/staging/sm750fb/ddk750_swi2c.c b/drivers/staging/sm750fb/ddk750_swi2c.c
index b53407bb2042..cae6b9bc6472 100644
--- a/drivers/staging/sm750fb/ddk750_swi2c.c
+++ b/drivers/staging/sm750fb/ddk750_swi2c.c
@@ -217,8 +217,6 @@ static unsigned char swI2CReadSDA(void)
return 0;
}
-#pragma optimize( "", off )
-
/*
* This function sends ACK signal
*/
@@ -356,7 +354,6 @@ unsigned char swI2CReadByte(unsigned char ack)
return data;
}
-#pragma optimize( "", on )
/*
* This function initializes GPIO port for SW I2C communication.