mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-09 16:07:17 -04:00
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:
committed by
Greg Kroah-Hartman
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.
|
||||
|
||||
Reference in New Issue
Block a user