Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp4445186pxf; Tue, 16 Mar 2021 13:45:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyKqt5SX8ReaIKH2ppEvgDqGahFU4Lcz6MyceMI99PC0s3D8vtcI9SNgPjgN9pAAI8qFfCF X-Received: by 2002:a17:907:2d9f:: with SMTP id gt31mr31459644ejc.233.1615927502626; Tue, 16 Mar 2021 13:45:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1615927502; cv=none; d=google.com; s=arc-20160816; b=tepXKuQJ5x440bC1SxXWlT3h2vxunghdrR/yHjPWk3Czvz5M0GnE/zMeX3HSl0KRMf 6tU75R1hFscsay+jyz7+ByZqY7k7FrSUE23OSniWmN38fkvWH1MDuiA14WauvyPYrKUX Knr4mA44b81XskhEuTBTE6ULROTSQyaQTxg8NnozEmIxT9wzkMCWgWrIanyRK5+q98J3 B3qCjADjqa+37fjBJ+29zNT7w4bUFLRwJPJF2OhHlm2g9jc0MZhd1+wLqAdjSvzg7r1I nHW1D2UdAlrYOBESAc00heTBSv8XU+lHgTFikpU+1pv7XoHvEr9dGV3AGdUROXExgk32 169Q== 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=fbhvIGnCMuZh+oOiKyd2X4ban09eYtOYnrdH/9nbbZM=; b=nVnYKqMroEfeollfBv5Axj4xbK7HuIt+/gNYqRVs4ZuYyQ3vIDN4hrZBNwnkaMOTgv 48XULaB9+XpIiMIAjmMMzpUgEKW377xxAtxe5LiF0+DgrX92F6ZuJrx/GFPyfgK8z1V4 uhSsWCMXedX5ZXx5rREY7ntKFcjcYAn4hNMpt+iFxz2uvZeU4+FIXy2r/qPV+QVf0prz Rq3Z2CI7A8d5g2KMRSfyga4gqe/T5+GrUmEZF3sM2Kc2mXnVLRLXoAGwFK2eoTWP4GMO sAYW/hLGFa3m+gcrJBDIOHYcppyzgFuzL/qJ4aA3fmljg3c9q5gIwIAKYU3TPY+3HDvf BrIA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Tbk40TlS; 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 q2si12277776ejx.352.2021.03.16.13.44.36; Tue, 16 Mar 2021 13:45:02 -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=Tbk40TlS; 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 S238067AbhCPPdH (ORCPT + 99 others); Tue, 16 Mar 2021 11:33:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36708 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237140AbhCPPce (ORCPT ); Tue, 16 Mar 2021 11:32:34 -0400 Received: from mail-wm1-x334.google.com (mail-wm1-x334.google.com [IPv6:2a00:1450:4864:20::334]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5B8EAC06174A for ; Tue, 16 Mar 2021 08:32:34 -0700 (PDT) Received: by mail-wm1-x334.google.com with SMTP id w203-20020a1c49d40000b029010c706d0642so4030548wma.0 for ; Tue, 16 Mar 2021 08:32:34 -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=fbhvIGnCMuZh+oOiKyd2X4ban09eYtOYnrdH/9nbbZM=; b=Tbk40TlS62DwaE6EvfTOODLCAnNH49T9slNVOQxvRDvGvApoGIbgjZ7M650QTrJK8y IiFtWB6P1bu9c8e1spndMlE782kkHW293Huci1PYvxFBA0kHk3j8LP8CdJBlGrrodf30 WIKk+S4kHU9l0tdB3bzHURTQ62lq5PPirsQGTFlgR5OATcrV+NpjtnLzMOTf6xT7WweT MIUwuiBolvTQRl+/uKVqYQdDpc61PyR0vqWi6Nm4gvP6TTlYme7oyzktnh2wh0aP94Nq 1L0lB7eONEG+b947LOizaYGXMZ1RD9WqhFmTMlPDz8p6EVhQSBBTsBuKbnuLjQ98YbBd Aj8Q== 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=fbhvIGnCMuZh+oOiKyd2X4ban09eYtOYnrdH/9nbbZM=; b=A/ZBvkLIlXXxgqXw6FwcgU0ZM6BBxur7t8W5JbJ/Ifcr2VrFP8eA8h6KgEJgwo7bT9 1nskFp0epSiyAK0wCtZ4RTYcm8kWyhzdsCa8lKgICVFKKCMb+6ZishzbFevqGVdxasGC PVyg7IeLUNlLRluPND+n6i85zI8mOQXzJn87G4yNoW+N11g3zioI/xiqu4YfOKyxyv14 aq/1fw1v15wU2oOCZeVF/2glGoeI0BhR0EfgqfLbU74I0e5+fghH3sGLR1OOMiV1S9BL Va3Y4MCQui23Gk1SlA2JL0ZcYI3H5fmJkBLvvUYmAKlhK2RXXNRwrRwzLuOZS1OxIDW1 pjJQ== X-Gm-Message-State: AOAM530JXahd0JCdj55gLDdhiiEyQBBw2tsQ3VCM141jk5TAYvgxx6im 1wpdS5iEDjvKumUuiKkcF+Y= X-Received: by 2002:a1c:195:: with SMTP id 143mr192505wmb.147.1615908753138; Tue, 16 Mar 2021 08:32:33 -0700 (PDT) Received: from agape.jhs ([5.171.72.71]) by smtp.gmail.com with ESMTPSA id j136sm3525932wmj.35.2021.03.16.08.32.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 Mar 2021 08:32:32 -0700 (PDT) Date: Tue, 16 Mar 2021 16:32:30 +0100 From: Fabio Aiuto To: gregkh@linuxfoundation.org Cc: devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org Subject: [PATCH 09/12] staging: rtl8723bs: remove unused code blocks conditioned by never set CONFIG_RX_INDICATE_QUEUE Message-ID: <0f677a975f92b38f6ad1ff21c1006855a075692b.1615907632.git.fabioaiuto83@gmail.com> 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_RX_INDICATE_QUEUE 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/include/rtw_recv.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/drivers/staging/rtl8723bs/include/rtw_recv.h b/drivers/staging/rtl8723bs/include/rtw_recv.h index acd7a7714740..3443cb7d0467 100644 --- a/drivers/staging/rtl8723bs/include/rtw_recv.h +++ b/drivers/staging/rtl8723bs/include/rtw_recv.h @@ -226,10 +226,6 @@ struct recv_priv { struct tasklet_struct recv_tasklet; struct sk_buff_head free_recv_skb_queue; struct sk_buff_head rx_skb_queue; -#ifdef CONFIG_RX_INDICATE_QUEUE - struct task rx_indicate_tasklet; - struct ifqueue rx_indicate_queue; -#endif /* CONFIG_RX_INDICATE_QUEUE */ u8 *pallocated_recv_buf; u8 *precv_buf; /* 4 alignment */ -- 2.20.1