Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp1306196pxj; Fri, 21 May 2021 10:54:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJygplEuHM8toOIlQjteIpmSdVaeQAYtAu01CchRQvMQA3lGJ+n/lK5b8In0gFuTNVQb2jxu X-Received: by 2002:a05:6402:19a7:: with SMTP id o7mr12219270edz.22.1621619679356; Fri, 21 May 2021 10:54:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621619679; cv=none; d=google.com; s=arc-20160816; b=Nj5kYnufbhZ3jERH3ajsk8Zjs0UkWHsRWs/qOe3csPw9gdizxZhNO5honuYz8J1QlD JUzfa6CsYLDAo9FUkNbX7pora3tWDUsBvpTYYMguxHj6DBhtdfpezX4wT3epc83RWugk sfF7BHSvGPhfvxrOYIMv8ZtPk2U0r2y8ApzWp6+1btyu7KVShEOIMW49qbnGnoI8kuTQ pqPu4LkCeAWuUd/XGEwEc9MUJcJSN9nHLUDW1heQdOPD9nlOZAFO+YHwDDxFFN2PNx5k fYf+cCd7w3ay0Df3iVoSb8kqfbbEajT9rM+UQj5Rt3leoFNGLeQp6JQtTc7bwWvWx0nh lqHg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from; bh=x9Zg1pVOuUMhD3UYFlvpwG2TTP7KHP1xUeGTZPXADO0=; b=XRURgbNbFaSjE8oBa8koS8oY5sPeXTMFHM93O9fhpBe0/VDSny42lMaVDQCp7XQqfY VWiSapuPDIfRMLbgTKY3wYENmeeFE4JJrBPL0wT4MG5oxoa6Ptuka6ueNXC8r4sYmvSX 861Bq2/d9jnDvnk+OLw1P3upfbJNO8picndHNDFF9Crq9iL7Q8EhjCY0e9lyzBAi7RgJ c1hlZvv52Vd2M0AWWrQpcGKWchP8+l9jsxUYL4zISTDDcbzAAset6nssU9+rJsIzBjV8 gm31Qc1VW2rdciH0AZ2Ug0s9dfzHB4Y0UyCJf5VcSjLOuY0yaEMppMcfR9J/TR0iLGc+ LOCQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i3si3751395edb.243.2021.05.21.10.54.16; Fri, 21 May 2021 10:54:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237205AbhEUC5H (ORCPT + 99 others); Thu, 20 May 2021 22:57:07 -0400 Received: from szxga07-in.huawei.com ([45.249.212.35]:3453 "EHLO szxga07-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231584AbhEUC5H (ORCPT ); Thu, 20 May 2021 22:57:07 -0400 Received: from dggems704-chm.china.huawei.com (unknown [172.30.72.60]) by szxga07-in.huawei.com (SkyGuard) with ESMTP id 4FmWPM2c6GzBvQC; Fri, 21 May 2021 10:52:55 +0800 (CST) Received: from dggpemm500001.china.huawei.com (7.185.36.107) by dggems704-chm.china.huawei.com (10.3.19.181) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.2; Fri, 21 May 2021 10:55:42 +0800 Received: from localhost.localdomain (10.67.165.24) by dggpemm500001.china.huawei.com (7.185.36.107) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.2; Fri, 21 May 2021 10:55:42 +0800 From: Xiaofei Tan To: , CC: , , , Xiaofei Tan Subject: [PATCH RESEND] tty: hvc_console: Remove the repeated words 'no' and 'from' Date: Fri, 21 May 2021 10:52:38 +0800 Message-ID: <1621565558-26118-1-git-send-email-tanxiaofei@huawei.com> X-Mailer: git-send-email 2.8.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.67.165.24] X-ClientProxiedBy: dggems705-chm.china.huawei.com (10.3.19.182) To dggpemm500001.china.huawei.com (7.185.36.107) X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Remove the repeated words 'no' and 'from', reported by checkpatch.pl. Signed-off-by: Xiaofei Tan --- drivers/tty/hvc/hvc_console.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/tty/hvc/hvc_console.c b/drivers/tty/hvc/hvc_console.c index cdcc64e..bdd8d2b 100644 --- a/drivers/tty/hvc/hvc_console.c +++ b/drivers/tty/hvc/hvc_console.c @@ -292,7 +292,7 @@ int hvc_instantiate(uint32_t vtermno, int index, const struct hv_ops *ops) if (vtermnos[index] != -1) return -1; - /* make sure no no tty has been registered in this index */ + /* make sure no tty has been registered in this index */ hp = hvc_get_by_index(index); if (hp) { tty_port_put(&hp->port); @@ -620,7 +620,7 @@ static u32 timeout = MIN_TIMEOUT; /* * Maximum number of bytes to get from the console driver if hvc_poll is * called from driver (and can't sleep). Any more than this and we break - * and start polling with khvcd. This value was derived from from an OpenBMC + * and start polling with khvcd. This value was derived from an OpenBMC * console with the OPAL driver that results in about 0.25ms interrupts off * latency. */ -- 2.8.1