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>
This commit is contained in:
parent
e936351a61
commit
c97df7c2c0
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user