Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp1691318rwb; Fri, 23 Sep 2022 17:20:40 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6BnnJRRu5U4RTqiZAmM9oPwIXV1YfM7bnVFH2MZWGRGw/8R/XPK1wq1S5EGTI34qUoW0x/ X-Received: by 2002:a17:907:25c7:b0:77b:c193:9230 with SMTP id ae7-20020a17090725c700b0077bc1939230mr9340929ejc.316.1663978839688; Fri, 23 Sep 2022 17:20:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663978839; cv=none; d=google.com; s=arc-20160816; b=kt7bPG8y8BqGpZxjIjGB4KLySOZUhy/JYhb9LUXgNumB6ERJgj46Kz2NGN2ywHmtbI UlMNLHIFSaoYgNVUlWMhJr9VOzNqid8bzMcbwoJYR5+NeLLCPQ8RqmcpBNZ4BhSXp3oy e5DsGHFTNOW+j2bXxI+6IvZE1tlMtYWmkB8GGn/lP9xUYPm2qr7VjLYEQs5iGep+iDnN 6LKTqtdv5i8+OJHC2tQI7XZ0NzeGszgprwoqTORjAXdlH3tkpnguawa4zHP6ruIgVAEJ J85StuFHaJiSdg6aS1tiB62uE8M/4Y6f45zADFDndXH2hTO6/yTcRqE1Tsjj5OjvFFDE GJcw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:dkim-signature :dkim-signature:from; bh=AsqRBJKkojptCjVN+/9KUBsCalgAOrjbKzUf0AGU4sQ=; b=XxJiQW+fGHA/WNf6yqD+zraiithR0SOAAzWV8Qh5tH3R1ZupeUJir2oP0Wwa9hidBP PjI/kP8yREk+nZFF0Yb0u/0jol+8uV2uO8Gt+doBWQcpEHHgcTrL5bwiPgbWWdL4+Ew9 qKswatbGnWzkPMuarDiZEXKVhLPmtxv3YjEkmngW5mawpgpQyQMWvak3kyN1nJRRcpYH sGXBFTcZ9w4yfYm7L9u/yoHIzqLew+WYaaZxWZ/Dd4HV2ZNod869DJYvacQpGCt5Fwil a1vUiuLrfJ3+su1eDoEMLiu9jlcqtHL8bX0NlydWuG0q9qjryk3PwPmVVOurN7xVXwuv owlA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=IWFjD1IW; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=f2AkD2lC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id wt1-20020a170906ee8100b0072f1c8d0e62si9554871ejb.95.2022.09.23.17.20.14; Fri, 23 Sep 2022 17:20:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=IWFjD1IW; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=f2AkD2lC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229556AbiIXAFZ (ORCPT + 99 others); Fri, 23 Sep 2022 20:05:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54538 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232978AbiIXAFF (ORCPT ); Fri, 23 Sep 2022 20:05:05 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7364DA50C5 for ; Fri, 23 Sep 2022 17:04:59 -0700 (PDT) From: John Ogness DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1663977897; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=AsqRBJKkojptCjVN+/9KUBsCalgAOrjbKzUf0AGU4sQ=; b=IWFjD1IWPGbwSq1Yr9k8bqwJQpfi7e1GcVgHtChWxHDfAgAzQXMn8Yb7k205GL8Yj3oyxW E5Cxa2BHjWcjcwdafY4HFYPMr26krLWmprZMbdoGJBVpTh07aYuFaa02HkEgNdg0oTZxNW ZK1n9cUWXJpqqCuiXwi0tzFTUQZAK8vuTZwvOIucbaDWFc52vBlePLPH9Zh6/sDh82awvt 2pRIoc00UjU8DQUsMkiJTYuO9uecetoc7P3AuNOvXjJ4NPubm0Q1GyzC1lkIpbYww5+7/l u3yf+OiyGfqrZVX76Y2sDQnZ7AFqgqgwr7iv90+1XgmaUIORSFQZlIcc/wOOVw== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1663977897; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=AsqRBJKkojptCjVN+/9KUBsCalgAOrjbKzUf0AGU4sQ=; b=f2AkD2lCoI9N9yB73ZnCGPZwbiWUyJkAqjH9LguSpaHRi7eazC7NsAhQXDY9ht2VLRnOom Nfy/TzgiB4V2GiDg== To: Petr Mladek Cc: Sergey Senozhatsky , Steven Rostedt , Thomas Gleixner , linux-kernel@vger.kernel.org Subject: [PATCH printk 04/18] printk: Remove bogus comment vs. boot consoles Date: Sat, 24 Sep 2022 02:10:40 +0206 Message-Id: <20220924000454.3319186-5-john.ogness@linutronix.de> In-Reply-To: <20220924000454.3319186-1-john.ogness@linutronix.de> References: <20220924000454.3319186-1-john.ogness@linutronix.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-3.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,INVALID_DATE_TZ_ABSURD, RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Thomas Gleixner The comment about unregistering boot consoles is just not matching the reality. Remove it. Signed-off-by: Thomas Gleixner Signed-off-by: John Ogness Reviewed-by: Sergey Senozhatsky --- kernel/printk/printk.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/kernel/printk/printk.c b/kernel/printk/printk.c index d6bba2ea14e8..770511b89504 100644 --- a/kernel/printk/printk.c +++ b/kernel/printk/printk.c @@ -3209,9 +3209,6 @@ void register_console(struct console *newcon) if (bootcon_enabled && ((newcon->flags & (CON_CONSDEV | CON_BOOT)) == CON_CONSDEV) && !keep_bootcon) { - /* We need to iterate through all boot consoles, to make - * sure we print everything out, before we unregister them. - */ for_each_console(con) if (con->flags & CON_BOOT) unregister_console(con); -- 2.30.2