Skip to content

Commit 1700560

Browse files
Yuan Canrobherring
authored andcommitted
of: fdt: Remove unused struct fdt_scan_status
After commit bba04d9("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 <[email protected]> Reviewed-by: Frank Rowand <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Rob Herring <[email protected]>
1 parent 8ec747e commit 1700560

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

drivers/of/fdt.c

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -828,15 +828,6 @@ uint32_t __init of_get_flat_dt_phandle(unsigned long node)
828828
return fdt_get_phandle(initial_boot_params, node);
829829
}
830830

831-
struct fdt_scan_status {
832-
const char *name;
833-
int namelen;
834-
int depth;
835-
int found;
836-
int (*iterator)(unsigned long node, const char *uname, int depth, void *data);
837-
void *data;
838-
};
839-
840831
const char * __init of_flat_dt_get_machine_name(void)
841832
{
842833
const char *name;

0 commit comments

Comments
 (0)