From patchwork Tue Aug 30 15:09:43 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shaomin Deng X-Patchwork-Id: 12959446 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 B490DECAAD1 for ; Tue, 30 Aug 2022 15:11:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230238AbiH3PKL (ORCPT ); Tue, 30 Aug 2022 11:10:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53136 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230242AbiH3PKK (ORCPT ); Tue, 30 Aug 2022 11:10:10 -0400 Received: from bg4.exmail.qq.com (bg4.exmail.qq.com [43.154.221.58]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 528FE286D0; Tue, 30 Aug 2022 08:10:06 -0700 (PDT) X-QQ-mid: bizesmtp72t1661872189taippgaq Received: from localhost.localdomain ( [182.148.13.26]) by bizesmtp.qq.com (ESMTP) with id ; Tue, 30 Aug 2022 23:09:43 +0800 (CST) X-QQ-SSF: 01000000002000B0C000B00A0000000 X-QQ-FEAT: Kol1Dm0TdrBY3VVmcZA8Cluyd69CRq9T6xCeEOK7HZtzwD/guwODQBL26XGp5 FlrnS2dttpsBfKHkIkutuyymhI8o6tPYjjlbwH+Ktk+L0UsHZqTXSVEkvnuJZdj1tag5GmL xyzu3Nv086ySEsJ30YdB9mCFd7EMCRFE92zGHP4PSzee8OSr37ogb7YgwvKi9w6XhFCrZp/ ldJGv4WVJqu5j7acDdNakxyYlwiUqCiDxZU3zzFiF7xoJHeUWwcm9hkJORnn/RlzuXRGB3g giUeDkOO6fEyykY3yxpDenPqU5JSjHxBJAvrjKEKwmQTr5tABG/nSDKgqv5va9Bl6wGyXVP EahHYI4aICF1YmaPAUxhsFcYCZHviAu3DAwKDTkng3INTAgf5Gv+v/2ckCuZA== X-QQ-GoodBg: 0 From: Shaomin Deng To: mdf@kernel.org, hao.wu@intel.com, yilun.xu@intel.com, linux-fpga@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Shaomin Deng Subject: [PATCH] fpga: mgr: Fix double word in comments Date: Tue, 30 Aug 2022 11:09:43 -0400 Message-Id: <20220830150943.25371-1-dengshaomin@cdjrlc.com> X-Mailer: git-send-email 2.35.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 Remove the repeated word "if" in comments. Signed-off-by: Shaomin Deng --- 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);