diff options
author | Tiezhu Yang <[email protected]> | 2022-03-10 14:50:10 +0800 |
---|---|---|
committer | Thomas Bogendoerfer <[email protected]> | 2022-03-14 15:07:49 +0100 |
commit | 89fa1268932420c64155bb4de9a9252a8c9e475d (patch) | |
tree | f1ed9854c8a59ce3fb1ecbe51f5f1c68dcc00bc9 /scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h | |
parent | 2bc5bab9a763d520937e4f3fe8df51c6a1eceb97 (diff) |
MIPS: Remove redundant check in device_tree_init()
In device_tree_init(), unflatten_and_copy_device_tree() checks
initial_boot_params, so remove the redundant check.
drivers/of/fdt.c
void __init unflatten_and_copy_device_tree(void)
{
int size;
void *dt;
if (!initial_boot_params) {
pr_warn("No valid device tree found, continuing without\n");
return;
}
...
}
Signed-off-by: Tiezhu Yang <[email protected]>
Signed-off-by: Thomas Bogendoerfer <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h')
0 files changed, 0 insertions, 0 deletions