Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp4445432pxf; Tue, 16 Mar 2021 13:45:30 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyJwLt0RxMG+DOxwzLafyVb+EmEx5Oyu/39QW20HsMKyCGjHNt+xwpUo+PTuXTKN1WiVfho X-Received: by 2002:aa7:ce8a:: with SMTP id y10mr38618732edv.66.1615927530149; Tue, 16 Mar 2021 13:45:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1615927530; cv=none; d=google.com; s=arc-20160816; b=k1kLHkqekjRfiSWSlSPdZwWlctz+SAmzbntPEUrMpdUsSyVYru4t3zGXWA53JaJ6/z lr4+Z9wZis6Ufc69oFcEHeCRAahFl7jA99wlAiB809Tl4dkHiGIW8zJBa18CO9vELPpe LP1mfATakjP64/dE1COStwMqkdsFKS6dOxA5EExRnUfEErwMCceZhGoLuAYMpkY5s6H/ 1NBGya5fpPqMy1FzA/XpdieLGZqnBB43tXKZj/xrL4+Yq0bVawWQi1UXMc5jwdccKFcK B2Uliki+QRonb8TCZXL19mKpW10xoCBHPGQYOVozAsdlD3+FQzrOST3oTC1nTmTvRP3E evLA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=x4jfn/t4bc0MDGe7AHsdkIwj3uzunRuHI4a+bTkpqQc=; b=a6vBVRbnn7ToNcbMom6qCyyfAi460X/+l8sHLZD7h08qcwGlFk6rjMdw2yIt0B/Kvr l8Br1/JL2Az1Ma1bTulmWsgOtyg+0n6LF7no5Z8LG2xddXUKyqsXKlNnkHL23MrNsFlk 89sN8jL8NlDLDbGvdHhPmpB4DffOhcca7249FdlX1L3Y+YXKm5TO6g0dGxbrT9OgDdr3 CvZUBnDYlLiFtrZHC626iFV90N/HVGvZaO4sRxaKao9y8oZp5hjkHPGoatTZrH7Z3HUA ZNyug8vAioibZG79S4vctZJzjXw+F3vMY+/wHPZ+kldRJJRQgmI91EtjYnvnESuq4jZW KBzA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=mBswRYxi; 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 i6si14274471ejz.383.2021.03.16.13.45.07; Tue, 16 Mar 2021 13:45:30 -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=mBswRYxi; 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 S237005AbhCPPbV (ORCPT + 99 others); Tue, 16 Mar 2021 11:31:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36368 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236851AbhCPPbB (ORCPT ); Tue, 16 Mar 2021 11:31:01 -0400 Received: from mail-wm1-x32d.google.com (mail-wm1-x32d.google.com [IPv6:2a00:1450:4864:20::32d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4AF7AC06174A for ; Tue, 16 Mar 2021 08:31:00 -0700 (PDT) Received: by mail-wm1-x32d.google.com with SMTP id m20-20020a7bcb940000b029010cab7e5a9fso1687541wmi.3 for ; Tue, 16 Mar 2021 08:31:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=x4jfn/t4bc0MDGe7AHsdkIwj3uzunRuHI4a+bTkpqQc=; b=mBswRYxiIo3zj9EDWmOreA+1Xp4knX4lDNRqi432X+rH9ocQh9sQVWNRmaG/cV4Nzf D+Mm2khvm0RhouRfqbXCxenz+hedafhx/NPalcC3zCz3EABm9GYfkxmETnGJmMapGCjB m8ucq42TPOULo1srNnGp+bVM6ILsProBJrR0sOKOgjFlYc/JTxMIBchXuWBLt1bd31iY yj8eQZy2k4ZcOZqDhYX4clMRq4gRHuW+0oWj851ZFq8YKLAKgbm63njKflNzfo2QNZZP NyNAqAK40dSevXIJsSxZab16q/aoelV61M35ry+A8s80Tg4JmA/VsAYWLgTJ39uWR2Qc /tiQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=x4jfn/t4bc0MDGe7AHsdkIwj3uzunRuHI4a+bTkpqQc=; b=kAzqL8VlqocVTc2IlWf+f5JpPYr8sRMC6tgvsP5HK/Kgp2gmA3g/2hUPbY8dGcDL/b gK0+g2J720nqbkysx58v/SGowy4cOa+EUO+i8h8AEdHnuQU4gcs2Ijt5f1R1WZMbhoyH AOgG+u8KJYl04jG2c8tqkNajH9AFFsB6IBTRqWo8v9iHTFwANOfOdfhgjJl+HDFixcI5 WBD/ZKOPcCMofQZjRo2ILgnSCLIlNCZUQ959Bux2RBBz2mMuJfsbJH4dSjl+FQiILYWc qrcISuxT1dBgOiASZFeTGyPQpIlbZMZqaSQi3woI+daFwujYgLU37JqFJk3lojdT9U4k ZvuQ== X-Gm-Message-State: AOAM533LqyoA/mVC1tTCI/HMGC0w1NJ3ltzw0UKsW8aqx9F2+OpVp9lm kqELfhFtzMOnoeOhkrVh5jE= X-Received: by 2002:a1c:4e07:: with SMTP id g7mr209792wmh.29.1615908659109; Tue, 16 Mar 2021 08:30:59 -0700 (PDT) Received: from agape.jhs ([5.171.72.71]) by smtp.gmail.com with ESMTPSA id s20sm3391555wmj.36.2021.03.16.08.30.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 Mar 2021 08:30:58 -0700 (PDT) Date: Tue, 16 Mar 2021 16:30:56 +0100 From: Fabio Aiuto To: gregkh@linuxfoundation.org Cc: devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org Subject: [PATCH 04/12] staging: rtl8723bs: remove unused code blocks conditioned by never set CONFIG_UPDATE_INDICATE_SEQ_WHILE_PROCESS_ADDBA_REQ Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org remove conditional code blocks checked by unused CONFIG_UPDATE_INDICATE_SEQ_WHILE_PROCESS_ADDBA_REQ cleaning required in TODO file: find and remove code blocks guarded by never set CONFIG_FOO defines Signed-off-by: Fabio Aiuto --- drivers/staging/rtl8723bs/core/rtw_wlan_util.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/drivers/staging/rtl8723bs/core/rtw_wlan_util.c b/drivers/staging/rtl8723bs/core/rtw_wlan_util.c index 2dd902b04509..ea690dbbfebb 100644 --- a/drivers/staging/rtl8723bs/core/rtw_wlan_util.c +++ b/drivers/staging/rtl8723bs/core/rtw_wlan_util.c @@ -1809,15 +1809,7 @@ void process_addba_req(struct adapter *padapter, u8 *paddba_req, u8 *addr) preorder_ctrl = &psta->recvreorder_ctrl[tid]; - #ifdef CONFIG_UPDATE_INDICATE_SEQ_WHILE_PROCESS_ADDBA_REQ - preorder_ctrl->indicate_seq = start_seq; - #ifdef DBG_RX_SEQ - DBG_871X("DBG_RX_SEQ %s:%d IndicateSeq: %d, start_seq: %d\n", __func__, __LINE__, - preorder_ctrl->indicate_seq, start_seq); - #endif - #else preorder_ctrl->indicate_seq = 0xffff; - #endif preorder_ctrl->enable = pmlmeinfo->accept_addba_req; } -- 2.20.1