From patchwork Thu Aug 25 12:38:03 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jilin Yuan X-Patchwork-Id: 12954631 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6DAECC04AA5 for ; Thu, 25 Aug 2022 12:40:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241901AbiHYMiv (ORCPT ); Thu, 25 Aug 2022 08:38:51 -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 X-QQ-SENDSIZE: 520 Feedback-ID: bizesmtp:cdjrlc.com:qybglogicsvr:qybglogicsvr4 Precedence: bulk List-ID: X-Mailing-List: linux-fpga@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);