Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp2378174pxj; Sun, 16 May 2021 23:46:11 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzBHgtAdw6wnj/6mV1hjG7w1sWrnZtc7wERFoMJtZdhsQrdh5iZoOPcpml1x2Ntf6XFXq/M X-Received: by 2002:a05:6e02:548:: with SMTP id i8mr48070234ils.69.1621233971334; Sun, 16 May 2021 23:46:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621233971; cv=none; d=google.com; s=arc-20160816; b=Rh226b6hTc7O6AzYNTSIQYj1tZpOWS9udNr4Mq8FJZeJCMmwAIcLCf4GYftMKOn+N8 QZvPkG9z3Ac1DtFSPxiT3HFLqIuUQasAhE3w71hFrkrldUPaeGCCHFGTRwczJ4pZbjft a3vBiA/kGQoB+R+pBo4LyciHoE1n+aZFoDE+CS1jelHQC4OTlD9Y97TQ+KhzQN6zUyB/ hkVklzjXzqdvsFed4QHmFi54wBmrUXaq7YVqG3IA6vFq9lUKon7Uo522KXXIfCOGdlE/ TqOV54bU+OralUrlTupKcve563sU1XWiGFalfmVw4/2dBCBM5CD9Tvb0C1u6uYoQXOnk vNhQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from; bh=XFE77Uuq6tRgJuDBZUvM+s0M8BBVa84PQBj1PAGIQ+M=; b=oS/9GEkBZIqeIaveE9xppHsSnx/+Hsp0py2PxmfiQSVgKUnTWVPCKjOm4RSm4sKp5C aIqt7raAsg/eoxBpNd9Hh4/SADnpsH204cuScj0lJhvEaHWC0T13cMjvvVhYpMyUsePm 49IHBlHFKJDNnUfQ0MTfqWoSR3hkN4FqJsYO+ST/ngap41VElKCfula6Q15tR3A6KTQX eGZy3skOWTbspr8dEgadoDcYTJQUENUlNpCS8OZieNIqbyi20JHyQqKAgb3CUeBcixFN 8I/kXtZ6MyDcov+fS6jSBDmJjyn48pbPiTWQyVeiFNgcGC23wYHQR3DiXRjA2kAfFlg9 Jmeg== 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 z25si16128025ior.21.2021.05.16.23.45.59; Sun, 16 May 2021 23:46:11 -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 S235164AbhEQGmR (ORCPT + 99 others); Mon, 17 May 2021 02:42:17 -0400 Received: from szxga05-in.huawei.com ([45.249.212.191]:3564 "EHLO szxga05-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234617AbhEQGlx (ORCPT ); Mon, 17 May 2021 02:41:53 -0400 Received: from dggems705-chm.china.huawei.com (unknown [172.30.72.58]) by szxga05-in.huawei.com (SkyGuard) with ESMTP id 4Fk8Zg3CyKzmWHb; Mon, 17 May 2021 14:37:47 +0800 (CST) Received: from dggpemm500001.china.huawei.com (7.185.36.107) by dggems705-chm.china.huawei.com (10.3.19.182) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.2; Mon, 17 May 2021 14:40:31 +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; Mon, 17 May 2021 14:40:31 +0800 From: Xiaofei Tan To: , CC: , , , Xiaofei Tan Subject: [PATCH 8/9] tty: hvc_console: Remove the repeated words 'no' and 'from' Date: Mon, 17 May 2021 14:37:12 +0800 Message-ID: <1621233433-27094-9-git-send-email-tanxiaofei@huawei.com> X-Mailer: git-send-email 2.8.1 In-Reply-To: <1621233433-27094-1-git-send-email-tanxiaofei@huawei.com> References: <1621233433-27094-1-git-send-email-tanxiaofei@huawei.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.67.165.24] X-ClientProxiedBy: dggems702-chm.china.huawei.com (10.3.19.179) 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 f31efeb..b6720b0 100644 --- a/drivers/tty/hvc/hvc_console.c +++ b/drivers/tty/hvc/hvc_console.c @@ -293,7 +293,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); @@ -622,7 +622,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