On 10/11/2025 11:59, Dmytro Prokopchuk1 wrote:
> The function 'check_partial_fdt()' performs an explicit check for the FDT
> magic number (FDT_MAGIC) before calling 'fdt_check_header(). This check is
> redundant, because 'fdt_check_header()' includes checking the magic number.
>
> Remove the redundant check to simplify the code and rely on the library
> function to perform header validation.
>
> Signed-off-by: Dmytro Prokopchuk <[email protected]>
Reviewed-by: Michal Orzel <[email protected]>
~Michal