summaryrefslogtreecommitdiff
path: root/src/cpu
diff options
context:
space:
mode:
authorFred Reitberger <reitbergerfred@gmail.com>2023-03-23 14:35:39 -0400
committerLean Sheng Tan <sheng.tan@9elements.com>2023-03-26 21:02:35 +0000
commit3b5d9ee516adb42a57557a8712761ad94633a276 (patch)
treec4824806814ec27b9477228c935a1ce6c55796c3 /src/cpu
parent13ed70f10be413f317126dc5f0b3b541eeacc116 (diff)
drivers/spi/spi_flash.c: Prefer 'if' over '#if"
Change preprocessor #if to a regular if and let the compiler optimize away the unused branch. Signed-off-by: Fred Reitberger <reitbergerfred@gmail.com> Change-Id: I7af747812a448064ac6b38686b8bd616a755932e Reviewed-on: https://review.coreboot.org/c/coreboot/+/73970 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com> Reviewed-by: Felix Singer <felixsinger@posteo.net> Reviewed-by: Angel Pons <th3fanbus@gmail.com> Reviewed-by: Martin L Roth <gaumless@gmail.com>
Diffstat (limited to 'src/cpu')
0 files changed, 0 insertions, 0 deletions