Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp624933rwe; Thu, 25 Aug 2022 06:35:09 -0700 (PDT) X-Google-Smtp-Source: AA6agR6F1RrGHMZM1Nj8O46/vu9KP5QB05qJCvwbY6zB80mT9IAKsb7UMcyMTWgY+QspWR7TJV6s X-Received: by 2002:a17:907:a0c6:b0:73d:bf46:f06b with SMTP id hw6-20020a170907a0c600b0073dbf46f06bmr2517451ejc.127.1661434509019; Thu, 25 Aug 2022 06:35:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661434509; cv=none; d=google.com; s=arc-20160816; b=ZnbO2tr12VjZLcyK+BBhd28dwHCRnPZaoA4F/nBwE/mVnSZ3Y3j1agbzt0DmDr7Pn8 u2YQTVfJ17eXmqgwq2gyfkyVn7Tu+1xh5fHqepgSPo1DVvndBKvsm7ydBaEc6Efl4rdb TDiS6gmtLqy0rfXGqXpMDjP/ne+6v7G2QhChNmfTNNHd6zsrdQqIdaz61pIFutBUUgIN +vB/groOHYtVL6rFjuerY0Ir2aInYgmqMkt96XWrnTCkqSQFxy4ksCJ58ejh2k4Orp3p 1m052qZZM7ksaegHiqMHf2O6ROxR4HWVoJyaQ/XJf5pEDjQK36FP3PAQtD9wWg2VE6I7 YmsA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:feedback-id:content-transfer-encoding :mime-version:message-id:date:subject:cc:to:from; bh=7q3nvSiKVEELLjAIfZmF6zL/uEgFfHc6BP9IRd4DeZQ=; b=uFl4u0LgaZ5okDRo7LohBfsmV+QknRrjLqgZbtBaVrkQUCyUrwyxaV6MJ6QyAZ/1Wz Vr6xNNDkRnyV84ViqfaB64Pim4mj3NpIaJK2cMCbnhsQZdB5eDepKuE9o6hrkohMO2f1 ze0N+E/U5isrJgsiJf0BXKNbkyLHZFyZtjbb/viY3gtpVysnNPC5FcsCd/YdpSDTwST9 UNEt8eaMzxovYdQLYiOmc0C13FpelpGDiFBRmQjcTfvJfvyGqqWcWsZ3iZQqAkyXUVOa aogvxktu0H3txIMeEXFoTHfQ61XTN6jiVCo2B4qjOjxY9uofjI/VxSTuDfzXZHdWai16 dhEw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id qb11-20020a1709077e8b00b0073d9c29892csi3775671ejc.939.2022.08.25.06.34.43; Thu, 25 Aug 2022 06:35:09 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241906AbiHYMiw (ORCPT + 99 others); Thu, 25 Aug 2022 08:38:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52798 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239689AbiHYMiu (ORCPT ); Thu, 25 Aug 2022 08:38:50 -0400 Received: from bg5.exmail.qq.com (bg4.exmail.qq.com [43.155.67.158]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8B193B3B1E; Thu, 25 Aug 2022 05:38:48 -0700 (PDT) X-QQ-mid: bizesmtp72t1661431090txmhb4ok Received: from localhost.localdomain ( [182.148.14.124]) by bizesmtp.qq.com (ESMTP) with id ; Thu, 25 Aug 2022 20:38:09 +0800 (CST) X-QQ-SSF: 01000000002000C0E000B00A0000000 X-QQ-FEAT: ILHsT53NKPjHCKbWdw2Ev9EVOZkckTajdXNKIoVDHKFC8mkV2NCBS1YiLQE+J duLxQUm3VXowAki1j6+kLJwB59UuHwi9IrgCGT4GC5I4rtriw4sHTNwIhOECzQp3bxTTa7v 9r2Om2WTtaRS63+jx3ZZb7rqaXP/05h7yFIKyBSnNXjwNNRwTfRX7d4kvFH6Zsz0SoCxouE ognTIKSH9/EQpvXmr/4gPJzd1MC15rmnvh7YXg7CsQWGLd2A5qA36B2jXr7j0TytLxQDyrg zEcPOiHNQifR55PfSQyolCaqKR30bn8ZAVzeljAq1bdy7mL93HJz2D/mOk+w3xFRB+imfLM 1M9JahCQDu8an/UvQThVPxCy3OqS6QyRZkvB/AnPG2h63ujbkUWw7F8WHlhIUQER9t7ARAa X-QQ-GoodBg: 0 From: Jilin Yuan To: mdf@kernel.org, hao.wu@intel.com, yilun.xu@intel.com, trix@redhat.com Cc: linux-fpga@vger.kernel.org, linux-kernel@vger.kernel.org, Jilin Yuan Subject: [PATCH] drivers/fpga: fix repeated words in comments Date: Thu, 25 Aug 2022 20:38:03 +0800 Message-Id: <20220825123803.13979-1-yuanjilin@cdjrlc.com> X-Mailer: git-send-email 2.36.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-QQ-SENDSIZE: 520 Feedback-ID: bizesmtp:cdjrlc.com:qybglogicsvr:qybglogicsvr4 X-Spam-Status: Yes, score=5.1 required=5.0 tests=BAYES_00,RCVD_IN_PBL, RCVD_IN_SBL_CSS,RCVD_IN_XBL,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Report: * 3.3 RCVD_IN_PBL RBL: Received via a relay in Spamhaus PBL * [43.155.67.158 listed in zen.spamhaus.org] * 0.4 RCVD_IN_XBL RBL: Received via a relay in Spamhaus XBL * 3.3 RCVD_IN_SBL_CSS RBL: Received via a relay in Spamhaus SBL-CSS * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record * -0.0 SPF_PASS SPF: sender matches SPF record * -0.0 T_SCC_BODY_TEXT_LINE No description available. X-Spam-Level: ***** 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 Delete the redundant word 'if'. Signed-off-by: Jilin Yuan --- drivers/fpga/stratix10-soc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/fpga/stratix10-soc.c b/drivers/fpga/stratix10-soc.c index 357cea58ec98..e4f2e83a615b 100644 --- a/drivers/fpga/stratix10-soc.c +++ b/drivers/fpga/stratix10-soc.c @@ -285,7 +285,7 @@ static int s10_ops_write(struct fpga_manager *mgr, const char *buf, /* * Loop waiting for buffers to be returned. When a buffer is returned, - * reuse it to send more data or free if if all data has been sent. + * reuse it to send more data or free if all data has been sent. */ while (count > 0 || s10_free_buffer_count(mgr) != NUM_SVC_BUFS) { reinit_completion(&priv->status_return_completion); -- 2.36.1