Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp4445223pxf; Tue, 16 Mar 2021 13:45:05 -0700 (PDT) X-Google-Smtp-Source: ABdhPJymA+kfIfAV9Nw8gPBgizjq0RlnrqPXdluPXg6MoXrIbenEgDgLhmkM28HiSxDwBCv/vFBb X-Received: by 2002:a17:906:1a44:: with SMTP id j4mr32134071ejf.401.1615927505416; Tue, 16 Mar 2021 13:45:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1615927505; cv=none; d=google.com; s=arc-20160816; b=JQ6oRYVzVo2S2/1GtKKM4vKCsC6qArca+0uKIxt03HddSfyxcx4jdG1v/cQE3kJUKf Txj+o7AUm2Fre/245ah1aX+9Wr+CMZfAYNSrKPlczV7MiVjhUCZlB2D0yGkt5QXGenBl pwGoop1k9iMG+0igOdQUu1A+7TljvDzd4dLDTDBVvoQs5A2Kvq94X1UBV+QgCH3XlIuD IbGLWR9cyepSivsbi6k5BCU7Wl0UshNF9KAacvicmvuzvJLSkPl9GMxj/HcWJTrSuv2x OBlbzeSRq9pXuBba0lXRMzdvZ35MirhNT0hTt+dIUQpIH4J2AQexxIAwxF632zKvNIjI D4xw== 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=3FACNdqVOiJ6TOhEvZsriYKv2P8d1qW7vmfrMLc43Lc=; b=xdwNw6C89wMyoXXJl2IWcKEF+qelqRMFftg94/s5c1nvnz25Jl6oe7ypc3JHiljeID St2XmLvl7terDmNZe22+3xlSD2T3Mfv/ZcisAuykdolq1Ac2r74zgeS/GlvEPlQIX4HO 3z8q2OcqaQZLmyney5yHecxDI4JIl8p3yXSpqzhUeLinQ4So/2C5+hfmaJK4SZuzL190 dEJHi1pUewc4FsbtN+AjFP+8By59+yZM3RXnuFr6q9uslW5YjlPmFqP1EWP1G/Rg6onU RZ1jttUIqI5eV+dv9PZn9Ohhu0t4TjspRAwWIW2cfY+UQV2hHtRWVU/SBjV6JMWm+e5f guVA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=aaCX+1ow; 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 q16si15232383ejt.685.2021.03.16.13.44.39; Tue, 16 Mar 2021 13:45:05 -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=aaCX+1ow; 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 S238050AbhCPPc6 (ORCPT + 99 others); Tue, 16 Mar 2021 11:32:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36656 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237930AbhCPPcU (ORCPT ); Tue, 16 Mar 2021 11:32:20 -0400 Received: from mail-wr1-x434.google.com (mail-wr1-x434.google.com [IPv6:2a00:1450:4864:20::434]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4502AC06174A for ; Tue, 16 Mar 2021 08:32:19 -0700 (PDT) Received: by mail-wr1-x434.google.com with SMTP id j7so7660836wrd.1 for ; Tue, 16 Mar 2021 08:32:19 -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=3FACNdqVOiJ6TOhEvZsriYKv2P8d1qW7vmfrMLc43Lc=; b=aaCX+1owgHm8Fhb0JtsQaRDmrIVL//ePtFgWkBG/xYW469IKh1lKCAzB88/E+B0zJt KfPnFrjO1mHiLIWHvLp5L40sH/YV/OM1h9R6sbcGS5zwAQ06vo2hI7BgwRb5uvorAInR zltXBwfTovADEh9YfCdFU6cj/Vtlwt40CkmAelYZGdZRGKI9gxHE5FzSd4MyPiT7FjKo hG+d3LCDV5vqPMmGlo+nzVeRsJJVZYAn+WT1+55ANLo85CUvOhyKA3+ndYCrN0i4mYoF uWv5FRjWyIYA6wRg3NiTs2pL3iSJNMCT5yMszprx55Pv74Mesq00V1Rmp3ZkGtTO/lZ7 mq/w== 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=3FACNdqVOiJ6TOhEvZsriYKv2P8d1qW7vmfrMLc43Lc=; b=aDrAwsNzOWBRZup3deVjoa8AEgk+laMkmzkBwSMaT+UNPuCpPBD61/Kpkc8kVYaF+m QUtX3eJyw9tl77KECg16+07pMB0zkYK6slXZI7WXfTkxBZu4auEV6k8myAU0picfXlTh pm+PkMcV9mzwwl4l0bs6NtPjF1wFO8ppw3GKjYEVL5D5T3KI8blgNRBBAHg8zEXHNCiF xSOJnn9SBqbttFKwGm40E+bHmtSVoAwhf3Qvv+RRah1ovlXt3UuThVBXOjYO4erQneq6 ej0eEz13dMZSmDpiAy/W9kA6b1m+lyrvIMCQGusxX7dCZ3EYIVO0moPsgqyJAxBeYi/l 5hPg== X-Gm-Message-State: AOAM5325v2JwwJPQA4QJQfXN/gPM2svbYRxV5edFh39/exQyF9rTkvAy B8Jz29bYMRNfJvgyyEt3aFA= X-Received: by 2002:a5d:424c:: with SMTP id s12mr5651203wrr.161.1615908738101; Tue, 16 Mar 2021 08:32:18 -0700 (PDT) Received: from agape.jhs ([5.171.72.71]) by smtp.gmail.com with ESMTPSA id s83sm3438688wmf.26.2021.03.16.08.32.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 Mar 2021 08:32:17 -0700 (PDT) Date: Tue, 16 Mar 2021 16:32:15 +0100 From: Fabio Aiuto To: gregkh@linuxfoundation.org Cc: devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org Subject: [PATCH 08/12] staging: rtl8723bs: remove unused code blocks conditioned by never set CONFIG_SINGLE_RECV_BUF Message-ID: <8e86b8adb1dcec67a7d437a362105bb96f370686.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_SINGLE_RECV_BUF 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 | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/drivers/staging/rtl8723bs/include/rtw_recv.h b/drivers/staging/rtl8723bs/include/rtw_recv.h index 0a56c3a66ee8..acd7a7714740 100644 --- a/drivers/staging/rtl8723bs/include/rtw_recv.h +++ b/drivers/staging/rtl8723bs/include/rtw_recv.h @@ -7,13 +7,9 @@ #ifndef _RTW_RECV_H_ #define _RTW_RECV_H_ - #ifdef CONFIG_SINGLE_RECV_BUF - #define NR_RECVBUFF (1) - #else - #define NR_RECVBUFF (8) - #endif /* CONFIG_SINGLE_RECV_BUF */ +#define NR_RECVBUFF (8) - #define NR_PREALLOC_RECV_SKB (8) +#define NR_PREALLOC_RECV_SKB (8) #define NR_RECVFRAME 256 -- 2.20.1