From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com [148.163.156.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 41RN4G5tpqzF35R for ; Fri, 13 Jul 2018 03:20:30 +1000 (AEST) Received: from pps.filterd (m0098396.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w6CHEciE036769 for ; Thu, 12 Jul 2018 13:20:28 -0400 Received: from e31.co.us.ibm.com (e31.co.us.ibm.com [32.97.110.149]) by mx0a-001b2d01.pphosted.com with ESMTP id 2k69y83j0p-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Thu, 12 Jul 2018 13:20:28 -0400 Received: from localhost by e31.co.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Thu, 12 Jul 2018 11:20:27 -0600 From: Murilo Opsfelder Araujo To: linux-kernel@vger.kernel.org Cc: Murilo Opsfelder Araujo , Benjamin Herrenschmidt , Paul Mackerras , Michael Ellerman , Mathieu Malaterre , Michael Bringmann , Nathan Fontenot , Kees Cook , Bharata B Rao , Alexey Kardashevskiy , =?UTF-8?q?C=C3=A9dric=20Le=20Goater?= , "Aneesh Kumar K . V" , Nicholas Piggin , linuxppc-dev@lists.ozlabs.org Subject: [PATCH] powerpc/prom_init: remove linux,stdout-package property Date: Thu, 12 Jul 2018 14:19:04 -0300 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Message-Id: <20180712171904.18971-1-muriloo@linux.ibm.com> List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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 Fixes: https://github.com/linuxppc/linux/issues/125 Signed-off-by: Murilo Opsfelder Araujo --- arch/powerpc/kernel/prom_init.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/powerpc/kernel/prom_init.c b/arch/powerpc/kernel/prom_init.c index 5425dd3d6a9f..c45fb463c9e5 100644 --- a/arch/powerpc/kernel/prom_init.c +++ b/arch/powerpc/kernel/prom_init.c @@ -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)); -- 2.17.1