On Tue, 31 Mar 2026 11:01:11 +0300, Ilias Apalodimas <[email protected]> wrote: > Both fdtdec_setup_memory_banksize() and fdtdec_setup_mem_size_base_lowest() > implement the exact same iterator over all memory banks, the only difference > is the body that is executed for each bank. Deduplicate the functionality > into iterator function fdtdec_setup_mem_for_each_bank(), which takes a > function pointer to a function which implements the body as a parameter. > No functional change. > > [...]
Reviewed-by: Anshul Dalal <[email protected]> -- Anshul Dalal <[email protected]>

