Skip to contentSkip to conversation

powerpc/prom_init: remove linux,stdout-package property

PATCH Applied Murilo Opsfelder Araujo 2 participants 2 messages Jul 18, 2018 – Jul 23, 2018 PowerPC

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 powerpc/prom_init: remove linux,stdout-package property

This property was added in 2004 and the only use of it, which was already inside #if 0, was removed a month later.

---
 arch/powerpc/kernel/prom_init.c | 2 --
 1 file changed, 2 deletions(-)

v1..v2:
- Move github.com links to this section so they can still end up in the mail archive.
- Remove Fixes: tag from commit message.
- Add Link: tag here.
- Link to v1: https://lkml.kernel.org/r/[email protected]

This property was added in 2004 by

    https://github.com/mpe/linux-fullhistory/commit/689fe5072fe9a0dec914bfa4fa60aed1e54563e6

and the only use of it, which was already inside #if 0, was removed a month later by

    https://github.com/mpe/linux-fullhistory/commit/1fbe5a6d90f6cd4ea610737ef488719d1a875de7
arch/powerpc/kernel/prom_init.c +0 -2
index 5425dd3d6a9f..c45fb463c9e5 100644
@@ -2102,8 +2102,6 @@ static void __init prom_init_stdout(void)
 	stdout_node = call_prom("instance-to-package", 1, 1, prom.stdout);
 	if (stdout_node != PROM_ERROR) {
 		val = cpu_to_be32(stdout_node);
-		prom_setprop(prom.chosen, "/chosen", "linux,stdout-package",
-			     &val, sizeof(val));
 
 		/* If it's a display, note it */
 		memset(type, 0, sizeof(type));
Signature · 1 line
2.17.1