Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -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.