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:
Родитель
e936351a61
Коммит
c97df7c2c0
|
@ -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)
|
||||||
|
|
||||||
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.
|
||||||
|
|
Загрузка…
Ссылка в новой задаче