Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp335819pxf; Thu, 1 Apr 2021 02:23:53 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyryoDeacnBLoHGccosCuEqKiPaU2wocyVpuploidHYT14viSOV0UEbeu6az+xpL1xUkaKH X-Received: by 2002:a17:906:c414:: with SMTP id u20mr7953022ejz.215.1617269032953; Thu, 01 Apr 2021 02:23:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617269032; cv=none; d=google.com; s=arc-20160816; b=r/SmttdhWdn1HygmvaEKSkyXcIcCTmlMVIL2smL13/XCTRAl4SaNrh0UNNny+XnBc+ hjCe1JCoJoWj3x9G5Q+Yt8aYD8I7Fn5zPrUnEh45VqngH8nPMwi2AUC7I3ViIvBHWqko pcYML3b9JH5eqrx1/gj1i4kT50cspQpq6Xd/vLCZN6MuNHICNw4IGKywVcSNu3E1idNa hvkVDjilNb41U1+988iysLX2y+0pgq2XLu7ByeGkWIDk9sW6FhdTLLxyfn+7b8n5YtAM ihose8mHlaouJnG96DYYeTjUCNwr3kmDO5m0nujb043t38SHsg4jc8Rn0YhxVG2FK2Cg lf6w== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=vwTkwJLj057qjRGk5qprK4YhJpBpmhOZC6UYL7UeweI=; b=IM4HmH5+D6yD36oGxKiUET1RNHRGgOLUPsWgIA+pWQa53bfgw7XvnTk2J6B/Kd5/Fm 7Wv1xYxRhBTQIz5xeGVHRTkB8wEfwJgx2Vr59/2TEbMncZKyDULzjJ8bLupX2ihFKZQi hgheV5tZUQDmer0pchRBaTexLijNfDZWNSYx/7BMWkwJ/MAeAuiXIIP0ybM8l3r8Kn8n H5fXbtEqv7Gj51R5ZCxWMdWpRKMV02HHrc8gdM+UrCb3FpbGF4EuCVhpAqu7LEhgvmWw k6b40EmAjgEsVVH9r1dV6Dix7mpwgF4UfGcAyTyIgB0/V+XiTzH2KRkWblctnW8W+Xqy ajYg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=uTirED+F; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q14si3824599edw.414.2021.04.01.02.23.30; Thu, 01 Apr 2021 02:23:52 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=uTirED+F; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234099AbhDAJWn (ORCPT + 99 others); Thu, 1 Apr 2021 05:22:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36258 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229612AbhDAJVu (ORCPT ); Thu, 1 Apr 2021 05:21:50 -0400 Received: from mail-ej1-x633.google.com (mail-ej1-x633.google.com [IPv6:2a00:1450:4864:20::633]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 88BEAC0613E6 for ; Thu, 1 Apr 2021 02:21:50 -0700 (PDT) Received: by mail-ej1-x633.google.com with SMTP id a7so1853183ejs.3 for ; Thu, 01 Apr 2021 02:21:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=vwTkwJLj057qjRGk5qprK4YhJpBpmhOZC6UYL7UeweI=; b=uTirED+FkCcb3BNVfz9ujknRCRyIrBiBji+BmnqA8dNcTdxB3JJk3QfpqUFu4Rv52p C8w/JDRv1FBRr6VM/YXaL+/8sUv5SujIGvAqIYx8MvWgkGZvMoYRPqw9cgf5XPr3O/8L tNrE01NLv6GyRgzvATfar4moPqaCnEvLXZ1fCL5SwfYpVqZqHzIILeLL/+X1ZYI1Msy1 0x7cH3iersyfH8RxlkWT+YkJ0pOj/SdyMrQ420+Ik83BgT9h6Au2x3pXYDKJiLfy55r0 X603+/3EO9EoGmvm7zhCC43MdOE68+MMFFjkCeH1Q9+4Us56Q6SKMuTIA+3p5mUG88l1 LZNw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=vwTkwJLj057qjRGk5qprK4YhJpBpmhOZC6UYL7UeweI=; b=aFICmeyCIYeTIN2tI9tuUI0DG7pUQBfM1zAxBB4uPstDT+NX14U1OMBHda3biBnaxS Z0K2dXnO1XFstRO+cX9IyM6+gX5Qea2ghrunCGdinjDF2CAKUYeut1sxsFxQsYtYxzgV i7hC8FMoNN4Cg77bVdexefbDvUgLUEPgVvMmr+Cu6yWBj1aUZJxCgJObYQnp92stN2UX VuVllME9YcxA4d04meF0mOY0JF13i6gHG+ccP+EAMK8dQCewKpfB5gIGZ1tgr9qupSul YnccjeIPEG8vRpWgtizjFYcjrrpTSqgSM37KvhZy1fH7l3qn4eStMd6rdYC+gUrJKaT+ y2AQ== X-Gm-Message-State: AOAM5306aZyX1YYmnwgGVSwLWIpwwrRWWIm3vz0Y83SmTroqc4GTeoJL qfOSAerQU/7h3NnsVPgjo8U= X-Received: by 2002:a17:907:f97:: with SMTP id kb23mr8069497ejc.33.1617268909375; Thu, 01 Apr 2021 02:21:49 -0700 (PDT) Received: from agape ([5.171.80.247]) by smtp.gmail.com with ESMTPSA id s6sm2476360ejx.83.2021.04.01.02.21.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Apr 2021 02:21:49 -0700 (PDT) From: Fabio Aiuto To: gregkh@linuxfoundation.org Cc: joe@perches.com, dan.carpenter@oracle.com, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, Fabio Aiuto Subject: [PATCH 16/49] staging: rtl8723bs: remove empty for cycle in core/rtw_recv.c Date: Thu, 1 Apr 2021 11:20:46 +0200 Message-Id: X-Mailer: git-send-email 2.20.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org remove empty for cycle Signed-off-by: Fabio Aiuto --- drivers/staging/rtl8723bs/core/rtw_recv.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/drivers/staging/rtl8723bs/core/rtw_recv.c b/drivers/staging/rtl8723bs/core/rtw_recv.c index 9bd742e22ed3..5eb9914c48fc 100644 --- a/drivers/staging/rtl8723bs/core/rtw_recv.c +++ b/drivers/staging/rtl8723bs/core/rtw_recv.c @@ -363,10 +363,6 @@ static signed int recvframe_chkmic(struct adapter *adapter, union recv_frame *p if (bmic_err == true) { - uint i; - for (i = 0; i < precvframe->u.hdr.len; i = i+8) { - } - /* double check key_index for some timing issue , */ /* cannot compare with psecuritypriv->dot118021XGrpKeyid also cause timing issue */ if ((IS_MCAST(prxattrib->ra) == true) && (prxattrib->key_index != pmlmeinfo->key_index)) -- 2.20.1