Skip to content
Commit cd334bef authored by Declan Snyder's avatar Declan Snyder Committed by Benjamin Cabé
Browse files

drivers: i2s_mcux_sai: optimize purge_stream



There's no need to put an if before i2s_purge_stream_buffers,
because this is handled already by the boolean values entered to the
function

Also remove the inline of the function, which allowed the compiler to
make optimizations and save some bytes.

Signed-off-by: default avatarDeclan Snyder <declan.snyder@nxp.com>
parent 693abfef
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment