From patchwork Thu Dec 1 02:06:42 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: zhang.songyi@zte.com.cn X-Patchwork-Id: 28147 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp27405wrr; Wed, 30 Nov 2022 18:16:05 -0800 (PST) X-Google-Smtp-Source: AA0mqf6I4hDaz1ofVAcXoZfvkCZvWxW/2HVeMHSmLEn7xVr22UiA+tpyj7zern6X+onhojzN28jx X-Received: by 2002:a17:906:7f05:b0:7be:26f2:909f with SMTP id d5-20020a1709067f0500b007be26f2909fmr19035286ejr.86.1669860965676; Wed, 30 Nov 2022 18:16:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669860965; cv=none; d=google.com; s=arc-20160816; b=JnKlToFTv7anLSYdB76uPtcOejD+96KYWoJaYIOKW+OvPoU+XHH2QgenZfq9GEH62K WqLbW0o3XseTXykiv3kDRDwj2E0ivmz8v9QcYAeZikJ/HuRNcRNonZJZL3Wq72Fn0gYu P/EJmTIk+u4x7vQRQLdzwBFeel5oNgRkRTFtzi3Va+FHi1V8DoljXxqypvTREIez47kR fZmGt/LvxvgJBEM6DcA6wCL8jGOCt6FiIBy6/DtI2iWjiZs3B9XEDKMBQ0z7CtvtE5+d dK/63KC6u4oy9ROsdBhKO6LIhqBvuQJSMZ7MlOHSpV9Szz8R/GTXJCofdpLJs4Njt9BV rTCA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:subject:cc:to:from:mime-version:message-id:date; bh=3id4XsclUUntz8w2xe17fuhoHbolUq4dW0P52PWPoOc=; b=fnfLJhjCw0ALkaUO8BPn8SzjoW80wwuJxP7QbBpCOzf2M0U/PsvyH75UQwwpGm7irs zVbeChVOv/G1ph6CYzsPTp89qkl9msyqud2wn4pr5npKUaqhVApYSKwupTI7IvO8YRdZ cckPH/Xq3bL1nRA8RtkhKFVBrNaCCWhvweOnbtHX5e72yVBnP0VMZCXHVc+c/3KjHWud aWtAqJFYeQuNpaOxoRVPGJ1+gpZvP/N6KHsN8KPOmZ1NO+JwsiGHy06RBxV4+EkOYAso r908dNTZkPIwOiMcNxyYx4oj0ST3sDCVq+xQuq/sPUfBYhzi5LxQMa88GKh+WbrCD70d vgsw== 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=zte.com.cn Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id xj7-20020a170906db0700b007ae61d89b28si2637785ejb.977.2022.11.30.18.15.39; Wed, 30 Nov 2022 18:16:05 -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=zte.com.cn Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229905AbiLACGx (ORCPT + 99 others); Wed, 30 Nov 2022 21:06:53 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41258 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229917AbiLACGv (ORCPT ); Wed, 30 Nov 2022 21:06:51 -0500 Received: from mxct.zte.com.cn (mxct.zte.com.cn [183.62.165.209]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EDB3B63D41; Wed, 30 Nov 2022 18:06:50 -0800 (PST) Received: from mse-fl2.zte.com.cn (unknown [10.5.228.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mxct.zte.com.cn (FangMail) with ESMTPS id 4NMzw93Tbtz4y0v0; Thu, 1 Dec 2022 10:06:49 +0800 (CST) Received: from xaxapp01.zte.com.cn ([10.88.40.50]) by mse-fl2.zte.com.cn with SMTP id 2B126g6R046935; Thu, 1 Dec 2022 10:06:42 +0800 (+08) (envelope-from zhang.songyi@zte.com.cn) Received: from mapi (xaxapp01[null]) by mapi (Zmail) with MAPI id mid31; Thu, 1 Dec 2022 10:06:42 +0800 (CST) Date: Thu, 1 Dec 2022 10:06:42 +0800 (CST) X-Zmail-TransId: 2af963880c32ffffffffd06acfa2 X-Mailer: Zmail v1.0 Message-ID: <202212011006426677429@zte.com.cn> Mime-Version: 1.0 From: To: Cc: , , , , , Subject: =?utf-8?q?=5BPATCH_net-next=5D_net=3A_microchip=3A_vcap=3A_Remove_u?= =?utf-8?q?nneeded_semicolons?= X-MAIL: mse-fl2.zte.com.cn 2B126g6R046935 X-Fangmail-Gw-Spam-Type: 0 X-FangMail-Miltered: at cgslv5.04-192.168.251.13.novalocal with ID 63880C39.000 by FangMail milter! X-FangMail-Envelope: 1669860409/4NMzw93Tbtz4y0v0/63880C39.000/10.5.228.133/[10.5.228.133]/mse-fl2.zte.com.cn/ X-Fangmail-Anti-Spam-Filtered: true X-Fangmail-MID-QID: 63880C39.000/4NMzw93Tbtz4y0v0 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_PASS,UNPARSEABLE_RELAY 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: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1750976131754697698?= X-GMAIL-MSGID: =?utf-8?q?1750976131754697698?= From: zhang songyi Semicolons after "}" are not needed. Signed-off-by: zhang songyi --- drivers/net/ethernet/microchip/vcap/vcap_api.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.25.1 diff --git a/drivers/net/ethernet/microchip/vcap/vcap_api.c b/drivers/net/ethernet/microchip/vcap/vcap_api.c index 93efa8243b02..b8df3cf32f1f 100644 --- a/drivers/net/ethernet/microchip/vcap/vcap_api.c +++ b/drivers/net/ethernet/microchip/vcap/vcap_api.c @@ -1394,7 +1394,7 @@ static void vcap_copy_from_client_keyfield(struct vcap_rule *rule, vcap_copy_to_w32be(field->data.u128.value, data->u128.value, size); vcap_copy_to_w32be(field->data.u128.mask, data->u128.mask, size); break; - }; + } } /* Check if the keyfield is already in the rule */ @@ -1584,7 +1584,7 @@ static void vcap_copy_from_client_actionfield(struct vcap_rule *rule, case VCAP_FIELD_U128: vcap_copy_to_w32be(field->data.u128.value, data->u128.value, size); break; - }; + } } /* Check if the actionfield is already in the rule */