diff options
author | Masahiro Yamada <masahiroy@kernel.org> | 2024-03-23 20:35:00 +0900 |
---|---|---|
committer | Palmer Dabbelt <palmer@rivosinc.com> | 2024-03-27 07:14:05 -0700 |
commit | 3b938e231b660a278de2988ee77b832d665c5326 (patch) | |
tree | 957b737386dc3439ab752ad7352a93edc08731ee /tools/perf/scripts/python/gecko.py | |
parent | 3dfbd2d26b646271c4a0291dd7325d5b06a17a21 (diff) |
riscv: merge two if-blocks for KBUILD_IMAGE
In arch/riscv/Makefile, KBUILD_IMAGE is assigned in two separate
if-blocks.
When CONFIG_XIP_KERNEL is disabled, the decision made by the first
if-block is overwritten by the second one, which is redundant and
unreadable.
Merge the two if-blocks.
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Reviewed-by: Alexandre Ghiti <alexghiti@rivosinc.com>
Link: https://lore.kernel.org/r/20240323113500.1249272-1-masahiroy@kernel.org
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions