Merge tag 'devicetree-for-5.17' of git://git.kernel.org/pub/scm/linux/kernel/git...
[linux-2.6-microblaze.git] / arch / powerpc / mm / nohash / kaslr_booke.c
index 6ec9789..96c38f9 100644 (file)
@@ -44,9 +44,7 @@ struct regions __initdata regions;
 
 static __init void kaslr_get_cmdline(void *fdt)
 {
-       int node = fdt_path_offset(fdt, "/chosen");
-
-       early_init_dt_scan_chosen(node, "chosen", 1, boot_command_line);
+       early_init_dt_scan_chosen(boot_command_line);
 }
 
 static unsigned long __init rotate_xor(unsigned long hash, const void *area,