diff options
author | Osama Abdelkader <osama.abdelkader@gmail.com> | 2025-09-02 22:08:18 +0200 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2025-09-16 17:31:53 +0100 |
commit | cc2c5027dc755b0b7e2a6531b089e5a239d3e0ce (patch) | |
tree | 01bc7ae30932821bca493b29dcdea5abc7ca07e9 /scripts/lib/kdoc/kdoc_parser.py | |
parent | 2b5daf79c32656264a23104c0693aa89c528cff8 (diff) | |
download | qemu-cc2c5027dc755b0b7e2a6531b089e5a239d3e0ce.zip qemu-cc2c5027dc755b0b7e2a6531b089e5a239d3e0ce.tar.gz qemu-cc2c5027dc755b0b7e2a6531b089e5a239d3e0ce.tar.bz2 |
hw/arm/raspi4b: remove redundant check in raspi_add_memory_node
The if (acells == 0 || scells == 0) check is redundant in
raspi_add_memory_node, since it is already checked in the call
chain, arm_load_dtb. Also the return value of the function is
not checked/used so it's removed.
Signed-off-by: Osama Abdelkader <osama.abdelkader@gmail.com>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Tested-by: Alex Bennée <alex.bennee@linaro.org>
Message-id: 20250902200818.43305-1-osama.abdelkader@gmail.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_parser.py')
0 files changed, 0 insertions, 0 deletions