Commit c97df7c2 authored by Sudip Mukherjee's avatar Sudip Mukherjee Committed by Greg Kroah-Hartman

staging: sm750fb: remove pragma optimize

remove use of #pragma optimize which will usually be ignored by the
compiler.
Signed-off-by: default avatarSudip Mukherjee <sudip@vectorindia.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent e936351a
...@@ -217,8 +217,6 @@ static unsigned char swI2CReadSDA(void) ...@@ -217,8 +217,6 @@ static unsigned char swI2CReadSDA(void)
return 0; return 0;
} }
#pragma optimize( "", off )
/* /*
* This function sends ACK signal * This function sends ACK signal
*/ */
...@@ -356,7 +354,6 @@ unsigned char swI2CReadByte(unsigned char ack) ...@@ -356,7 +354,6 @@ unsigned char swI2CReadByte(unsigned char ack)
return data; return data;
} }
#pragma optimize( "", on )
/* /*
* This function initializes GPIO port for SW I2C communication. * This function initializes GPIO port for SW I2C communication.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment