Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp438767imm; Thu, 31 May 2018 03:22:13 -0700 (PDT) X-Google-Smtp-Source: ADUXVKIHsES+RZV7wXL8XclLBE5UB+txx43CI1EVJko0FAiU1ORkePeCjc8YB1nzFrsM30SHhcut X-Received: by 2002:a62:6c3:: with SMTP id 186-v6mr6191110pfg.151.1527762133550; Thu, 31 May 2018 03:22:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527762133; cv=none; d=google.com; s=arc-20160816; b=Bsao187QspqPp65WhZSrOt0xscoZ5kDQjZ25aKa7EepOCBBM47eaL9Ct0aQBFJruyx 2VY/Glf+uFBeN1D7XwmQbVCVSvxlgOnWrEzKmYWDL/Sa6ftbbHJLrD2EX5VqOaxAD1at vg/LKiITVHsj0ppc6bBBC5tJEuQkzJUXD3EA5PSS3RHtw4GXCiVQXn3jaiM3fiYgGNjh dWpEOWLMx9jsD8e8/QqZb8FQ76Y2+CaqNiSOqFK2Z5iGK9azVIwppzsrZd1CMk4P0DdK F2g4cVN6LaCQyDpST6qpvO3NtnVEVF3AU3PPRBL43FPLBssNK7w1zMzI4auQpkrTVYvC 3FKA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:dlp-filter:cms-type:message-id :date:subject:cc:to:from:dkim-signature:dkim-filter :arc-authentication-results; bh=Rk7qGoTj1IszjZPedc5Qz4asHga6msgqpYXnKzhz70g=; b=WVhvRkZUhOkDppqswnyp+8nQ0XdZPfB4itaAAJ3vbMEJzBPXeM4ZvpHjA38ou5ISC8 Y5p3/TdkHeYaUyMZJZPkQxu1mfQn7A/GZe9d4nUEmg7V8fMogZ5fL2ryEygmjV8/tZxT GTi1s9UWbRMEr7WMThuijI9fZIJ7qHr5836nTr0IOooafUYWe1oQx3IDwXlKViC68hkh CA55MJ006WlMzPmlyXNYE5qiQ7kJRYm3y56+iwqm29Ng/P4/wmgvg4lFpDQpX9XiOMWm 2g0pJ2YIZP0sVT7zCNFjSe0w7TO33ZIH+qoXwOgKwpNLKqys/owzBzoOsFV6NSIlCaoH p2gQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=jHp7LaZU; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u75-v6si36738680pfd.328.2018.05.31.03.21.59; Thu, 31 May 2018 03:22:13 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=jHp7LaZU; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754352AbeEaKVj (ORCPT + 99 others); Thu, 31 May 2018 06:21:39 -0400 Received: from mailout3.samsung.com ([203.254.224.33]:33463 "EHLO mailout3.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754019AbeEaKVh (ORCPT ); Thu, 31 May 2018 06:21:37 -0400 Received: from epcas5p3.samsung.com (unknown [182.195.41.41]) by mailout3.samsung.com (KnoxPortal) with ESMTP id 20180531102135epoutp03795848323f9ddc49a02fb6e7caa4d304~zs4gI4gRu2386123861epoutp03T for ; Thu, 31 May 2018 10:21:35 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout3.samsung.com 20180531102135epoutp03795848323f9ddc49a02fb6e7caa4d304~zs4gI4gRu2386123861epoutp03T DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1527762095; bh=Rk7qGoTj1IszjZPedc5Qz4asHga6msgqpYXnKzhz70g=; h=From:To:Cc:Subject:Date:References:From; b=jHp7LaZUNlpOtfYShpUMRai2lwTAZj4IySPrfvjInNAjgYhpjo9StoNwJvNty2BQO gI2jXSjS/ZhVXlcnaos9BeCC7fP8ZohfwprG+RVlf1nIgU0o6TUmZl9V0GskE+iJRL jRPMhwzzQhd2y7s7r2BYQcreUUO4DPwbDEjaFy8g= Received: from epsmges5p3new.samsung.com (unknown [182.195.40.197]) by epcas5p4.samsung.com (KnoxPortal) with ESMTP id 20180531102134epcas5p4cd52a711b5ce7048e32c62c3435a897c~zs4fmLnef0784807848epcas5p42; Thu, 31 May 2018 10:21:34 +0000 (GMT) Received: from epcas5p2.samsung.com ( [182.195.41.40]) by epsmges5p3new.samsung.com (Symantec Messaging Gateway) with SMTP id 61.C7.04408.EACCF0B5; Thu, 31 May 2018 19:21:34 +0900 (KST) Received: from epsmtrp1.samsung.com (unknown [182.195.40.13]) by epcas5p2.samsung.com (KnoxPortal) with ESMTPA id 20180531102133epcas5p2e8d47887c1708836c9b70964983093e2~zs4eTmEuv0380103801epcas5p2U; Thu, 31 May 2018 10:21:33 +0000 (GMT) Received: from epsmgms1p1new.samsung.com (unknown [182.195.42.41]) by epsmtrp1.samsung.com (KnoxPortal) with ESMTP id 20180531102133epsmtrp13502084f13a6495dceaabbf67f8d5448~zs4eRuSoE1794817948epsmtrp1U; Thu, 31 May 2018 10:21:33 +0000 (GMT) X-AuditID: b6c32a4b-9a1ff70000001138-57-5b0fccae6b28 Received: from epsmtip1.samsung.com ( [182.195.34.30]) by epsmgms1p1new.samsung.com (Symantec Messaging Gateway) with SMTP id 2C.48.03632.DACCF0B5; Thu, 31 May 2018 19:21:33 +0900 (KST) Received: from localhost.localdomain (unknown [107.108.92.210]) by epsmtip1.samsung.com (KnoxPortal) with ESMTPA id 20180531102118epsmtip1dbf9b5849c0a17c3d3aa6de42d6011c3~zs4QtPy6H3214032140epsmtip1B; Thu, 31 May 2018 10:21:17 +0000 (GMT) From: Maninder Singh To: pmladek@suse.com, sergey.senozhatsky@gmail.com, rostedt@goodmis.org Cc: linux-kernel@vger.kernel.org, a.sahrawat@samsung.com, pankaj.m@samsung.com, v.narang@samsung.com, Maninder Singh Subject: [PATCH 1/2] printk: remove unused flag LOG_NOCONS Date: Thu, 31 May 2018 15:47:51 +0530 X-Mailer: git-send-email 1.9.1 X-Brightmail-Tracker: H4sIAAAAAAAAA0VSe0hTURjn7HkNZ5dZdFph40KQlnN3Ob2alpDkIAuhtyLzogcnbndrd64H BAZjDjEzFSLtYfWHYJohKk2n1fKRFYWV9LBspUHayzkfpKRtu4v+Ot/3e3yPw4fxpS+FMqyI sSAzQ+sJ0SpB58PoLbG3n67OUdZMxlHD3Yh62XVZRD28ZhdQY987eNTK+JyQ6nV4eFSLb1xM uYeugDRM46z7INbYet+JNZXtTUDT2j4i0PjaorKE2ShFh+gCZJYjJt9YUMQUphJ7D2h3a9UJ SjKWTKISCTlDG1AqkZ6ZFbunSO8fhZBbaX2JH8qiWZaI25liNpZYkFxnZC2pRA5JqhSkMlGh UvlfdW6ySu2X5CFdj+0mz/QZOzn/85W4FFSIy0EYBvF4eOnTsrAcrMKkeDeAr+tHAZfMADjX ZQsx8wA+eLwi+Ge55WjkcUQPgAPOSwIumQVwovITP6AS4QrY1OUKOtbgGXBmYVoUEPHxagAX PjYHiUg8GXqr3gQNAnwz/OYYBlyLKDg0UBPsDfEqEZx0DQsDhAS3wsYbT0JzpMN3rY9Ca0TC qcH2UCyDk+ftoZiF5b/OAq6QDcAfs5/5HLELet70+0WYf6Ro2NoVF4D5eAQ8tzTBC8AQl0CH XcqpN0Pb2ztCLt4AfV6vgJNo4IspbQCW4rnwz/s+cRXYWPe/ZgMATWA9MrGGQsSqTdsZdELB 0ga2hClU5BsNbSB4UDF774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-Id: <20180531102133epcas5p2e8d47887c1708836c9b70964983093e2~zs4eTmEuv0380103801epcas5p2U@epcas5p2.samsung.com> X-CMS-MailID: 20180531102133epcas5p2e8d47887c1708836c9b70964983093e2 X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" CMS-TYPE: 105P DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20180531102133epcas5p2e8d47887c1708836c9b70964983093e2 References: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch removes unused flag LOG_NOCONS for printk. usage of this flag is removed long back with below commit. "5c2992ee7fd8a29d04125dc0aa3522784c5fa5eb" printk: remove console flushing special cases for partial buffered lines Signed-off-by: Maninder Singh Signed-off-by: Vaneet Narang --- kernel/printk/printk.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/kernel/printk/printk.c b/kernel/printk/printk.c index 2f4af21..ab15903 100644 --- a/kernel/printk/printk.c +++ b/kernel/printk/printk.c @@ -349,10 +349,9 @@ enum con_msg_format_flags { */ enum log_flags { - LOG_NOCONS = 1, /* already flushed, do not print to console */ - LOG_NEWLINE = 2, /* text ended with a newline */ - LOG_PREFIX = 4, /* text started with a prefix */ - LOG_CONT = 8, /* text is a fragment of a continuation line */ + LOG_NEWLINE = 1, /* text ended with a newline */ + LOG_PREFIX = 2, /* text started with a prefix */ + LOG_CONT = 4, /* text is a fragment of a continuation line */ }; struct printk_log { -- 1.9.1