Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp335532pxf; Thu, 1 Apr 2021 02:23:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJycwkyeoeEkdYM4CE1DT/XB9Gqd4CK5wWlwPReKvYTGeALO1HWa4pKRH+RcJjkMa3kMOKED X-Received: by 2002:a05:6402:4386:: with SMTP id o6mr9191126edc.307.1617268996886; Thu, 01 Apr 2021 02:23:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617268996; cv=none; d=google.com; s=arc-20160816; b=AyRkS7rYm3myIW10BBtYi7sodRsAEvb/up37jEN7foho1+HUVToQlNP02ZDTM3AA+D EqZlVF+HTqAkTdHFxbBRejKRNR44JMZ+Fx41iFPpozEke+BTsKnw5U8L3WazDPAIAkbq fEaW2HPD2X2ua/dNVQvpp7gwNNlIr9Rd38zOwyNPe5edztvBe+IewOCIZ7nHHwgywOW5 qBvKGaOWkQ8vCWtVdzTxU/+O5YmUi3XJFQbHQUofCyNJ7311M2a8Xqmq6zoCMBYJwezX zI8LfqFvb/As53Ztthlz+TSdxiDMb4gKAS2LBITfGQ3d76rG6I5v6dqxwj8KrRVIpEC4 wzPg== 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=HJqQJvrsu2AgEydH+oU+Yu3fjSul6JhGXyuC5jgh4hc=; b=xvSj/VS+HcHOtoLvNFV2rCWzMO0ZvdRMmc0D3ENyT+hax1PWqARG3vlwrZVlFBG4kS PQ1EEURbPtkS5mIPtxotasvKNxfI8qYPOfUNnWaL26ziEJFiMnVZw4rX19y/Hc9xtPmD 2vOop/4VSGsiD6deSpSLQldrt9OFBM5yEBUr8zpWtEmVGtaD4UBJT1NyNG1D8X9vMMyO G9SPCZPtSJzef5sBmlI7ep1xOUjaW5+dEwmVlwS16YLZTrmeE4sA9z7eqGZTl01+Wcd/ a+xkZc+19cKxsmzuee5GWnrIKmxAxNiM2saC/Xvv71sr6vdo6ZfUhBA9g6ies8xYmq9+ 5pFQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=MogSFjQB; 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 y9si4020028edi.0.2021.04.01.02.22.54; Thu, 01 Apr 2021 02:23:16 -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=MogSFjQB; 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 S233927AbhDAJWV (ORCPT + 99 others); Thu, 1 Apr 2021 05:22:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36164 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233629AbhDAJVb (ORCPT ); Thu, 1 Apr 2021 05:21:31 -0400 Received: from mail-ed1-x530.google.com (mail-ed1-x530.google.com [IPv6:2a00:1450:4864:20::530]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BA15DC0613E6 for ; Thu, 1 Apr 2021 02:21:30 -0700 (PDT) Received: by mail-ed1-x530.google.com with SMTP id w18so1199154edc.0 for ; Thu, 01 Apr 2021 02:21:30 -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=HJqQJvrsu2AgEydH+oU+Yu3fjSul6JhGXyuC5jgh4hc=; b=MogSFjQB68ZvISvsXroExN4si7+tZ1EaEuqlXoEEh7UxWVM4GrUCaycBhWP3SaoVuj iD622bpJC2BGycQ3PpHomATvnNRKj3J/d0J7cRaSadqzkQcRQnfgXQyf3G07JxNvH3kn GZHTGidltB6edZnhbD2I0vT9KDetVJZVHJmHbg0jCX3juTCVBEBUfQznh+FiZEryeXhy la5m6mQa+CO0L7GI+MwF9rnkgWnVZW4grYTSAATRLF0KI5/kFAL1fJOg53ow0sTky7dS U2EAO8Bd4trHx8FpHcE9HRDfu4ByreGG0k2YHfAgkxrnJdWSfA8z99a4yVn5LdDHU3TK lhdw== 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=HJqQJvrsu2AgEydH+oU+Yu3fjSul6JhGXyuC5jgh4hc=; b=SUMU+vZDqOGMgRT7xl3b39Ur8T8lDWAl0KnjJZWZq9XMJSYHCdd8Nev2keGLqv1fAb x5H91jUJHJ6/bSISQoAVd3idvBg0AqiwLicqu+hmpaeM4HjYxdQOwWFC6ZjeZG+rBA4C 1XHqhe32ZV9VSK5JMijN3fuuMM5iOFtoFputMibj++40+bcFQEzcT+0UwGcn/z9stDGK DAavpynu0y4ZfNwGVKqkwYjyxdYvuaDof8Se27aZ4EFAp648pXiudDHRIsujtHtxth7i h0Su6Uh2+WAzz1W8JMj7LX3MjKVMKW8rJRq7mnZYZogVGoL8yPd35rg7JcN/KN1eoTL2 Ai8w== X-Gm-Message-State: AOAM532EmMXh7nRUR6rbKwwEANAGBVTbLz5NYEY7RkClaSMUvXj4ihVj sSrNf2a9z4QsXPSdLtjlsjw= X-Received: by 2002:a05:6402:5203:: with SMTP id s3mr8858612edd.79.1617268889571; Thu, 01 Apr 2021 02:21:29 -0700 (PDT) Received: from agape ([5.171.80.247]) by smtp.gmail.com with ESMTPSA id z17sm2581223eju.27.2021.04.01.02.21.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Apr 2021 02:21:29 -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 04/49] staging: rtl8723bs: remove empty if block in core/rtw_security.c Date: Thu, 1 Apr 2021 11:20:34 +0200 Message-Id: <31c2087e7876143b5da76891b19ac0b3ef8ac731.1617268327.git.fabioaiuto83@gmail.com> 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 an empty if block Signed-off-by: Fabio Aiuto --- drivers/staging/rtl8723bs/core/rtw_security.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/staging/rtl8723bs/core/rtw_security.c b/drivers/staging/rtl8723bs/core/rtw_security.c index c91a1eef40b3..acef6aa0b393 100644 --- a/drivers/staging/rtl8723bs/core/rtw_security.c +++ b/drivers/staging/rtl8723bs/core/rtw_security.c @@ -236,8 +236,6 @@ void rtw_wep_decrypt(struct adapter *padapter, u8 *precvframe) /* calculate icv and compare the icv */ *((u32 *)crc) = le32_to_cpu(getcrc32(payload, length-4)); - if (crc[3] != payload[length-1] || crc[2] != payload[length-2] || crc[1] != payload[length-3] || crc[0] != payload[length-4]) { - } } } -- 2.20.1