Message ID | 20230208004959.47553-1-yang.lee@linux.alibaba.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp3173927wrn; Tue, 7 Feb 2023 17:00:18 -0800 (PST) X-Google-Smtp-Source: AK7set+anZXursz342ADTvw8lafBPITYGk8gxd0A76ol/scrkC4XsjTwP11qzgeUC4eNl/xfG+78 X-Received: by 2002:a17:906:52c4:b0:860:5723:a5e5 with SMTP id w4-20020a17090652c400b008605723a5e5mr5301804ejn.69.1675818018296; Tue, 07 Feb 2023 17:00:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1675818018; cv=none; d=google.com; s=arc-20160816; b=KBHgBin4SuDU3LgWf33HekIwIzfuyJn44U1xmFwx3dpXaBbeF/Ylro8kx7Cr9ay5Ta rp+ek2tozTlvwoxwGTMgA7zFACutr/16V4M3s1W4sFtMBUEsrK1/IZo6/5gBk1MSm5/6 fOSi9ssA41dWE7BHyqqvtRQhycjdkAOrI588sVPHToHY2smV/IyUXJ/5W2PTg+kJj6fF XjqZSyOtl5skZUErw7ZVmTrcHyiwKEr78VNeiYnXXhXl+TbDW15Juh46cj9TsT1M66YS vV1f6rUNqpB+9AsamefCPifKmiSewiiiu2bRSmr3r+7H6igUXyW5yXm43wmULD+ol4nV fnhw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=F8I0M7mujrmRRSkuKGcEmXJUHAU1bOakybnDDqCy5mQ=; b=lQE5BwGv7eSgfwV/hFE6Wbey/htbSmIlOWmPuqN0Jggv4pfClZJkGXsOxTKq+OQsr5 eVCjs6AnB6UkSBN10KVAxujDxEuGBVfF00p6jOMjQEHAIK5vWIPH4iUcyoAu8UqCTV6U SQihV8qDcN0rIPSHeECTT4O8IFqHXoZdx6xXdz316BCaiG4t4tWcyqghjFUKWRDBmgP/ G5BNIeULmEsqOAIudKv5tNT6W5x1xrOqOYZLluFrB5Me8Mc7PbpR/XnQ5bzU5q6bl/gj 0weT9y+awHho1uYnLWyDc5rNnh5x01tl9Q5dw+sYpvFantTI/rVlE04ISBlURhHBiubl QvBQ== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id fn18-20020a1709069d1200b008716321a08fsi17791255ejc.708.2023.02.07.16.59.54; Tue, 07 Feb 2023 17:00:18 -0800 (PST) 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229623AbjBHAuI (ORCPT <rfc822;kmanaouilinux@gmail.com> + 99 others); Tue, 7 Feb 2023 19:50:08 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32972 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229505AbjBHAuH (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 7 Feb 2023 19:50:07 -0500 Received: from out30-131.freemail.mail.aliyun.com (out30-131.freemail.mail.aliyun.com [115.124.30.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E7F011A962; Tue, 7 Feb 2023 16:50:04 -0800 (PST) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R141e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018046059;MF=yang.lee@linux.alibaba.com;NM=1;PH=DS;RN=10;SR=0;TI=SMTPD_---0Vb985jS_1675817400; Received: from localhost(mailfrom:yang.lee@linux.alibaba.com fp:SMTPD_---0Vb985jS_1675817400) by smtp.aliyun-inc.com; Wed, 08 Feb 2023 08:50:01 +0800 From: Yang Li <yang.lee@linux.alibaba.com> To: davem@davemloft.net Cc: kuba@kernel.org, edumazet@google.com, pabeni@redhat.com, jiawenwu@trustnetic.com, mengyuanlou@net-swift.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Yang Li <yang.lee@linux.alibaba.com>, Abaci Robot <abaci@linux.alibaba.com> Subject: [PATCH -next] net: libwx: Remove unneeded semicolon Date: Wed, 8 Feb 2023 08:49:59 +0800 Message-Id: <20230208004959.47553-1-yang.lee@linux.alibaba.com> X-Mailer: git-send-email 2.20.1.7.g153144c MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-9.9 required=5.0 tests=BAYES_00, ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2, SPF_HELO_NONE,SPF_PASS,UNPARSEABLE_RELAY,USER_IN_DEF_SPF_WL autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1757222554262398559?= X-GMAIL-MSGID: =?utf-8?q?1757222554262398559?= |
Series |
[-next] net: libwx: Remove unneeded semicolon
|
|
Commit Message
Yang Li
Feb. 8, 2023, 12:49 a.m. UTC
./drivers/net/ethernet/wangxun/libwx/wx_lib.c:683:2-3: Unneeded semicolon
Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=3976
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
---
drivers/net/ethernet/wangxun/libwx/wx_lib.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Comments
Hello: This patch was applied to netdev/net-next.git (master) by Jakub Kicinski <kuba@kernel.org>: On Wed, 8 Feb 2023 08:49:59 +0800 you wrote: > ./drivers/net/ethernet/wangxun/libwx/wx_lib.c:683:2-3: Unneeded semicolon > > Reported-by: Abaci Robot <abaci@linux.alibaba.com> > Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=3976 > Signed-off-by: Yang Li <yang.lee@linux.alibaba.com> > --- > drivers/net/ethernet/wangxun/libwx/wx_lib.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Here is the summary with links: - [-next] net: libwx: Remove unneeded semicolon https://git.kernel.org/netdev/net-next/c/3ca11619a3cb You are awesome, thank you!
diff --git a/drivers/net/ethernet/wangxun/libwx/wx_lib.c b/drivers/net/ethernet/wangxun/libwx/wx_lib.c index 57e1871ea0c6..7abb5ef5f34e 100644 --- a/drivers/net/ethernet/wangxun/libwx/wx_lib.c +++ b/drivers/net/ethernet/wangxun/libwx/wx_lib.c @@ -680,7 +680,7 @@ static int wx_poll(struct napi_struct *napi, int budget) if (likely(napi_complete_done(napi, work_done))) { if (netif_running(wx->netdev)) wx_intr_enable(wx, WX_INTR_Q(q_vector->v_idx)); - }; + } return min(work_done, budget - 1); }