commit | 71693ba43fa8f0d0e7560a3c0a0c465fbd49ce1a | [log] [tgz] |
---|---|---|
author | Nicola Corna <nicola@corna.info> | Tue Mar 14 10:26:58 2017 +0100 |
committer | Martin Roth <martinroth@google.com> | Tue Jun 27 17:16:03 2017 +0000 |
tree | 343ae79630a4d05441e41875cd7975512bf8750b | |
parent | 5f98f980985b22070713a2792b4f9905c4189fa6 [diff] |
coreinfo: Use regular `if` over `#if` for `IS_ENABLED` When using the regular `if` construct, the compiler will check the guarded code independently from the condition. Change-Id: I00c5c7ae3720f75aa9415edb94cd2ce76cee8aee Signed-off-by: Nicola Corna <nicola@corna.info> Reviewed-on: https://review.coreboot.org/18811 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Martin Roth <martinroth@google.com>