Commit 17005609 authored by Yuan Can's avatar Yuan Can Committed by Rob Herring

of: fdt: Remove unused struct fdt_scan_status

After commit bba04d96("of/fdt: remove unused of_scan_flat_dt_by_path"), no
one use struct fdt_scan_status, so remove it.
Signed-off-by: default avatarYuan Can <yuancan@huawei.com>
Reviewed-by: default avatarFrank Rowand <frank.rowand@sony.com>
Link: https://lore.kernel.org/r/20220927133739.98493-1-yuancan@huawei.comSigned-off-by: default avatarRob Herring <robh@kernel.org>
parent 8ec747e5
...@@ -828,15 +828,6 @@ uint32_t __init of_get_flat_dt_phandle(unsigned long node) ...@@ -828,15 +828,6 @@ uint32_t __init of_get_flat_dt_phandle(unsigned long node)
return fdt_get_phandle(initial_boot_params, node); return fdt_get_phandle(initial_boot_params, node);
} }
struct fdt_scan_status {
const char *name;
int namelen;
int depth;
int found;
int (*iterator)(unsigned long node, const char *uname, int depth, void *data);
void *data;
};
const char * __init of_flat_dt_get_machine_name(void) const char * __init of_flat_dt_get_machine_name(void)
{ {
const char *name; const char *name;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment