Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp335535pxf; Thu, 1 Apr 2021 02:23:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyi/K1BEJUtUhDEicoAmaXjlrGnll0mvzuenDjoLBZKx6tx49AuhAfmJ29jRPyhC5d8k+DF X-Received: by 2002:a17:907:c08:: with SMTP id ga8mr8026826ejc.376.1617268996961; 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=DG4PwmitKKJ5lazapA8HBb4lBDCOmyPJJoNCwCiPSbY6YOgKYALEOJxf0inuOZzlHd G9vQxRXM4G9x2eJ+hHyUlHjx9hgT45QlRBvFl+0T2hGVh2/VsKhJJ8ZrJ6ktd1tdIp0X AhQ7Q5nAK7COkEGjDxl3S5FIXR6zbH7D+H2J6s78s2u+ITDqg4NBbpu9502c1KX/9Bxv S4ySaBx0ELxqOPwt/vkQ/SS6ZKvnk7E7LawJM+DEeWaky4rM7QCcKLdPJCjHTVKXi0to YDg+ak6um83smjUa9LT7IexhO8qnsvCcQ3bjZJGV25hiKd3fX/7wjx+0s2oC8Ay6bHDI 2nFA== 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=FiriAVBN/K4zFoUiIgg5H+KCI+lUplIfvn+b2uqWN5o=; b=nMS7BC0xMDgCp7+2FUcIp7RlOtaE+dO0J/DGru3L2xrmIDRPyyo8wIHx3z+9zHf+73 e455tNW3yb7uLeC75SnBIF5+wbuwavw61O1w3OP0GqanAYhbm6pWI7ccpCpEjcd7URdj JRQW4z/E8NrEX1Nkn7suDFz+Ch8viD5+ToCcZrPZ0hKuEiSPbQNIrj0ZhFAfxkB7Swjc HjiLCrB+MNwk7eUO1pSWcso7Tez7NJBOz5VIONeIFjMG9E5juWpBTHvQmsntdp41xkO3 I2fjNIiBMh51fTTx0Eh38vqt0pIxHuQNKPGgnMTWoPaB8X+mFHxs1rnma/4VzExXrzJ/ phTA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="cW45/t5M"; 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 w26si3591387ejn.699.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="cW45/t5M"; 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 S233888AbhDAJWQ (ORCPT + 99 others); Thu, 1 Apr 2021 05:22:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36154 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233080AbhDAJV2 (ORCPT ); Thu, 1 Apr 2021 05:21:28 -0400 Received: from mail-ed1-x534.google.com (mail-ed1-x534.google.com [IPv6:2a00:1450:4864:20::534]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9BEDFC0613E6 for ; Thu, 1 Apr 2021 02:21:27 -0700 (PDT) Received: by mail-ed1-x534.google.com with SMTP id o19so1165023edc.3 for ; Thu, 01 Apr 2021 02:21:27 -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=FiriAVBN/K4zFoUiIgg5H+KCI+lUplIfvn+b2uqWN5o=; b=cW45/t5M+7irjQG6v19jtTLjNvVYjoAn3oUD4lUCeqXWTspxSYLnvVUSbkQYB35orr kU1RC6jCvQGh9a84/9T5A3kknJk+zxMxviWes0I5LZe2k3iOUhVJGgh+mFrIr7ZmGbo7 5V6p1l7F703Qz5hff5v9mMGrVnNFgZGR4ZuSd23Mx9MUe/TJmideeLJ6pEfSNO+WzeM4 D64CmQDMIHTIkhhPcyY+iODvx3CtPjbRFh+2EntDbzmrqeYQw7l87F6qbMzraxXSbg1r Gds2hIum7xdjUsuIZzwG8YUTM48n5vGls9XF+kjf/cYnSLC7rkOVG5xjQn7AE5RInzsO 2m/g== 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=FiriAVBN/K4zFoUiIgg5H+KCI+lUplIfvn+b2uqWN5o=; b=LBJcY+WlOh+mYEEpCndOLvH/5hzOuHXlo3EzlIlRhtef3AijYOOp68SE8iW83HMaU2 3J8UPNGo1r+wJ+4iGKrXDHAxubzrmkT7jW5Mj2PLpK38T9+HmeHNAYZVLGkjBorH6iIu R1pUZQAH8QLjH+jyq+QfpHNUvdx27OjpMrq/uhrEILPrgxAFgl+GkZ5mYla8Rm3E+WjT K2hi1HOv45vd+KSTAEqaYbze21oRB3coTRffllVxEWUh7DfxqxIach0xVPcH2Kb/azE9 C8l3nmTA0m8j2IO7Q8rky6/vs3gEtQ+yoquyOAa3R3KrF3ojGRBT70bc9cCVfy/7iZrM GL7g== X-Gm-Message-State: AOAM533bUBzEZiuQ3AwSSdX5wND9cp1sN/DxeKvhZnw9Eqc5W4JEcgYP FfPSIGoVBHATsZR68BaoT/M= X-Received: by 2002:a05:6402:b31:: with SMTP id bo17mr8683612edb.113.1617268886411; Thu, 01 Apr 2021 02:21:26 -0700 (PDT) Received: from agape ([5.171.80.247]) by smtp.gmail.com with ESMTPSA id 90sm3726324edr.69.2021.04.01.02.21.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Apr 2021 02:21:26 -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 02/49] staging: rtl8723bs: remove empty else blocks Date: Thu, 1 Apr 2021 11:20:32 +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 else blocks Signed-off-by: Fabio Aiuto --- drivers/staging/rtl8723bs/core/rtw_xmit.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/staging/rtl8723bs/core/rtw_xmit.c b/drivers/staging/rtl8723bs/core/rtw_xmit.c index 05aec2ee5a0b..d8e4e7cff377 100644 --- a/drivers/staging/rtl8723bs/core/rtw_xmit.c +++ b/drivers/staging/rtl8723bs/core/rtw_xmit.c @@ -867,7 +867,6 @@ static s32 xmitframe_swencrypt(struct adapter *padapter, struct xmit_frame *pxmi default: break; } - } else { } return _SUCCESS; @@ -1140,7 +1139,6 @@ s32 rtw_xmitframe_coalesce(struct adapter *padapter, struct sk_buff *pkt, struct ClearMFrag(mem_start); break; - } else { } addr = (SIZE_PTR)(pframe); @@ -1783,7 +1781,6 @@ s32 rtw_free_xmitframe(struct xmit_priv *pxmitpriv, struct xmit_frame *pxmitfram pxmitpriv->free_xmitframe_cnt++; } else if (pxmitframe->ext_tag == 1) { pxmitpriv->free_xframe_ext_cnt++; - } else { } spin_unlock_bh(&queue->lock); -- 2.20.1