diff options
author | Yuan Can | 2022-09-27 13:37:39 +0000 |
---|---|---|
committer | Rob Herring | 2022-09-29 17:29:19 -0500 |
commit | 17005609548f1f0204cbfc988b325533470e585c (patch) | |
tree | f1c76d4c54d11e3a241fa1c6d3d62a813e58ae4b /drivers/of | |
parent | 8ec747e5d585cc8efaf5ebc3caf5dd71af86eaaa (diff) |
of: fdt: Remove unused struct fdt_scan_status
After commit bba04d965d06("of/fdt: remove unused of_scan_flat_dt_by_path"), no
one use struct fdt_scan_status, so remove it.
Signed-off-by: Yuan Can <yuancan@huawei.com>
Reviewed-by: Frank Rowand <frank.rowand@sony.com>
Link: https://lore.kernel.org/r/20220927133739.98493-1-yuancan@huawei.com
Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'drivers/of')
-rw-r--r-- | drivers/of/fdt.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/of/fdt.c b/drivers/of/fdt.c index d1cbb4ad05c8..53b250fcd2a9 100644 --- a/drivers/of/fdt.c +++ b/drivers/of/fdt.c @@ -828,15 +828,6 @@ uint32_t __init of_get_flat_dt_phandle(unsigned long 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 *name; |