Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp1285684pxb; Fri, 20 Aug 2021 02:09:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwF1Z/x/nam+ZCh4Fxab/33Wc5COHmGvl8JVvdvyywXhsoWecqufU9oOWHTLEmC0PZZcNO5 X-Received: by 2002:a5d:9693:: with SMTP id m19mr15014733ion.181.1629450578794; Fri, 20 Aug 2021 02:09:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629450578; cv=none; d=google.com; s=arc-20160816; b=IlzxOdSFwkrtCvBee4aRL78R4t2vmxlAVEWAHBjLe902kIJygypKlQed8tfgkMc75T c9IL3l9jl6zo1K/kz8+bxpPlcNrGepjJjW0ATKiW90pf/V8rR5kZzj882yfHowXDn/Ad 0ScmiUeCRfbOPU2hMxHIZUUre+7kkCPLWZtlSPDIgRyCVjnxSpfHvCdDCzp74nujZ19j IR5Jlw18IXSel3SNps4BbDXik11ee7S0g8zh8iA61ifEtlsJgBw75LTajxER+2f2Xy4p xDqX5UP1VZFqFSQQh7M0isvNBZG+ENltHqJ1sKRkxFh5VGdmvTL2trsjIsoVtqrnZ/bp brsg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from; bh=9NAQ1AbRB+S+U6MTYBRkNvfBKqz2rV1X56yGEdLaN3M=; b=ba6Rb/H3L2XdJxIo2KP3Cb5MQuV4CaZNWko1m3UAo3kG25EtLbmsRhiI1LsGKzeFWC 6Ab5LCGz/AdiAYL9uldT2Tb9PK2++ls2eiup5LQ25LY034daWAvXnFDB/qyoGuk9QFMa i04wlP0+U66DdCC1gF/Z4XQcPSFZlIOTz0C84B6J/xXUx8Il8hXySiDO9LLX+Cq7gH/P dq7MdGnb1kEn17PULW1WZIDKWsi10v4EpiqeWgI3GQ8fycXVhg757mpiIyGOIX67Jcms 9V6Tl3rEkjoIp80P0Rjh0M9/PZ/Pne8qIvJTppHLo6N80k1YFFW1XkJN/SQHVgz35ZrP 3t4A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p31si7030217jac.95.2021.08.20.02.09.22; Fri, 20 Aug 2021 02:09:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S232738AbhHTJJW (ORCPT + 99 others); Fri, 20 Aug 2021 05:09:22 -0400 Received: from out30-42.freemail.mail.aliyun.com ([115.124.30.42]:49705 "EHLO out30-42.freemail.mail.aliyun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230450AbhHTJJV (ORCPT ); Fri, 20 Aug 2021 05:09:21 -0400 X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R151e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=e01e04394;MF=yang.lee@linux.alibaba.com;NM=1;PH=DS;RN=5;SR=0;TI=SMTPD_---0UkJj5EK_1629450521; Received: from j63c13417.sqa.eu95.tbsite.net(mailfrom:yang.lee@linux.alibaba.com fp:SMTPD_---0UkJj5EK_1629450521) by smtp.aliyun-inc.com(127.0.0.1); Fri, 20 Aug 2021 17:08:42 +0800 From: Yang Li To: Larry.Finger@lwfinger.net Cc: phil@philpotter.co.uk, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, Yang Li Subject: [PATCH linux-next] staging: r8188eu: remove unneeded semicolon Date: Fri, 20 Aug 2021 17:08:25 +0800 Message-Id: <1629450505-28247-1-git-send-email-yang.lee@linux.alibaba.com> X-Mailer: git-send-email 1.8.3.1 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Eliminate the following coccicheck warning: ./drivers/staging/r8188eu/hal/rtl8188e_rxdesc.c:73:66-67: Unneeded semicolon ./drivers/staging/r8188eu/hal/rtl8188e_hal_init.c:2225:68-69: Unneeded semicolon ./drivers/staging/r8188eu/core/rtw_xmit.c:615:75-76: Unneeded semicolon Reported-by: Abaci Robot Signed-off-by: Yang Li --- drivers/staging/r8188eu/core/rtw_xmit.c | 2 +- drivers/staging/r8188eu/hal/rtl8188e_hal_init.c | 2 +- drivers/staging/r8188eu/hal/rtl8188e_rxdesc.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/r8188eu/core/rtw_xmit.c b/drivers/staging/r8188eu/core/rtw_xmit.c index 4172352..8693c7c 100644 --- a/drivers/staging/r8188eu/core/rtw_xmit.c +++ b/drivers/staging/r8188eu/core/rtw_xmit.c @@ -612,7 +612,7 @@ static s32 xmitframe_addmic(struct adapter *padapter, struct xmit_frame *pxmitfr else stainfo = rtw_get_stainfo(&padapter->stapriv, &pattrib->ra[0]); - hw_hdr_offset = TXDESC_SIZE + (pxmitframe->pkt_offset * PACKET_OFFSET_SZ);; + hw_hdr_offset = TXDESC_SIZE + (pxmitframe->pkt_offset * PACKET_OFFSET_SZ); if (pattrib->encrypt == _TKIP_) {/* if (psecuritypriv->dot11PrivacyAlgrthm == _TKIP_PRIVACY_) */ /* encode mic code */ diff --git a/drivers/staging/r8188eu/hal/rtl8188e_hal_init.c b/drivers/staging/r8188eu/hal/rtl8188e_hal_init.c index e27d896..d225858 100644 --- a/drivers/staging/r8188eu/hal/rtl8188e_hal_init.c +++ b/drivers/staging/r8188eu/hal/rtl8188e_hal_init.c @@ -2222,7 +2222,7 @@ void Hal_ReadAntennaDiversity88E(struct adapter *pAdapter, u8 *PROMContent, bool if (registry_par->antdiv_cfg == 2) { /* 2:By EFUSE */ pHalData->AntDivCfg = (PROMContent[EEPROM_RF_BOARD_OPTION_88E] & 0x18) >> 3; if (PROMContent[EEPROM_RF_BOARD_OPTION_88E] == 0xFF) - pHalData->AntDivCfg = (EEPROM_DEFAULT_BOARD_OPTION & 0x18) >> 3;; + pHalData->AntDivCfg = (EEPROM_DEFAULT_BOARD_OPTION & 0x18) >> 3; } else { pHalData->AntDivCfg = registry_par->antdiv_cfg; /* 0:OFF , 1:ON, 2:By EFUSE */ } diff --git a/drivers/staging/r8188eu/hal/rtl8188e_rxdesc.c b/drivers/staging/r8188eu/hal/rtl8188e_rxdesc.c index b4b3c02..2442867 100644 --- a/drivers/staging/r8188eu/hal/rtl8188e_rxdesc.c +++ b/drivers/staging/r8188eu/hal/rtl8188e_rxdesc.c @@ -70,7 +70,7 @@ void update_recvframe_attrib_88e(struct recv_frame *precvframe, struct recv_stat pattrib = &precvframe->attrib; memset(pattrib, 0, sizeof(struct rx_pkt_attrib)); - pattrib->crc_err = (u8)((le32_to_cpu(report.rxdw0) >> 14) & 0x1);;/* u8)prxreport->crc32; */ + pattrib->crc_err = (u8)((le32_to_cpu(report.rxdw0) >> 14) & 0x1);/* u8)prxreport->crc32; */ /* update rx report to recv_frame attribute */ pattrib->pkt_rpt_type = (u8)((le32_to_cpu(report.rxdw3) >> 14) & 0x3);/* prxreport->rpt_sel; */ -- 1.8.3.1