Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp225041pxf; Wed, 17 Mar 2021 03:55:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxqGtnyMgiYrnrLUBuAHv/lvKWmwN/D7eZB/lzXFLM7pATp6E6wCwr7sK/OLejEY0zJQ5pf X-Received: by 2002:a17:907:76ed:: with SMTP id kg13mr32909232ejc.99.1615978549296; Wed, 17 Mar 2021 03:55:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1615978549; cv=none; d=google.com; s=arc-20160816; b=jicAU1OXV4/FsXUgXHlBzBVgymtsqdIrk1MjN6vgPrIzFN1XwwUq92hYI3vunc0jyX eb3LcfUIOrrge4AoCJuW2LHp93l9PNjrCVDEtPPa9VjZk1nP3NIKm6QeB8GNlzopS44D efirPuDs6nQs2+NiJffCZeihHwVjbMl+Vpt4CwEzaSnie2s0cWUFrbfIGyJ6lFN9uUF9 f3A7eQLUmGBui/3SeiglEky0T5ZeYzsz/U7EbVFTY8cPy9fcnp3Uh/IH9rnkP8c/Pl3C Q+NNIUsF4xGlo1hnYfNghKepBHGIKY6SIaSyx0U5hOtbsrTXNlv9abg+wItwHDVeOhDb NO5A== 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=7ZEmZdoNzTf0jQ1Rx3FYRD3InQh2pIlPzg/PoJOuS1A=; b=UkJgnwm0nGXe0ZmS+wAX42xKPI8R0QKtxAovCOMHpjFgrL4LrMUxrfPiQTsRlkz7zO mFa4lgLtCqZXIa01OXB9oRkDcxHe9R/YJE+dmtofv4nb6cbdNvuoj00Z+II3gtPd3bUS Ku+dXM/0+l9xzeaLpC6eDEtoUEb45fg+x+4trKNQbids9rt/u1lJ64YRsff9bF9Z0kdB 3Jzvdlyam9eXg5ot9mph7SLhcR+56wrE+4HvOrX0LvMd5YD2p4/BK+AGhY0xJlc3x3IV 1Yg8Fg4PhWL9SeGkqqr9+Rzq7Zu4R7lOoHiLeQc7hexvOtay44Ebv7tWYAEccoJvVGds qKtg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="vGhqd8J/"; 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 y13si6767414edw.445.2021.03.17.03.55.27; Wed, 17 Mar 2021 03:55:49 -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="vGhqd8J/"; 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 S230171AbhCQKwe (ORCPT + 99 others); Wed, 17 Mar 2021 06:52:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36526 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229989AbhCQKw3 (ORCPT ); Wed, 17 Mar 2021 06:52:29 -0400 Received: from mail-wm1-x332.google.com (mail-wm1-x332.google.com [IPv6:2a00:1450:4864:20::332]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5D2C4C06174A for ; Wed, 17 Mar 2021 03:52:29 -0700 (PDT) Received: by mail-wm1-x332.google.com with SMTP id b2-20020a7bc2420000b029010be1081172so1027081wmj.1 for ; Wed, 17 Mar 2021 03:52:29 -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=7ZEmZdoNzTf0jQ1Rx3FYRD3InQh2pIlPzg/PoJOuS1A=; b=vGhqd8J/KOPvVcl54UKfueWhz/dmR19kbkBhnBbmE1ZP0xLMwmLG54v/oQfG9rTbIi mGDvgBwv1eSwbEePwnEFwqKt3R8VJWOLvmsvQtzh0fG1RjrgB2aCE9YoBc+wb0L39ihg HaA77dmjbmENhBTt04M96ddBTsuaT6YjpzKM1OzR2rFW7jw2ouTPsbwc3uiypGUhZGx/ LT7UXjB6ce2hlrQthg+08DDXViWziOwlERwLaXNYYULIDmMcmDsJuBLZMctq04PTS3wK slv+NCI1ECxR0N+EbTIAeuv4HLlLUc6YVqlo+wrcupWIfNJBJ4qUvqCh5Xx9GbnH4Cwl 3awQ== 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=7ZEmZdoNzTf0jQ1Rx3FYRD3InQh2pIlPzg/PoJOuS1A=; b=OK9z8SfJZN9F+VofZFdGiCd8ddI0JkY/VUiFcHKL6QkEU4iiK6Zs/6bwUO+lnuHdqT J0LGVWclmcfwNZSa/fWu9vBk2Rt4gB5JjtEtD0NOOHwU7BUPPcmIsH2cJVwPgwjqqHkw xnlmUXftiklHRLnJ2Nnr0kSY/bfu/nw91LY8ciqnrc/ZoIcPkgySl7eS5aQJfPtNdaQZ boZnDFLLd/iRdFPRgip+Fw0fE2bENnYqFeNMtJTJUkjWt82HU4FQYFUL/U51XzppMnw2 LpK2wXDk9+JJZhNC+3ARTTY9c8v89ulQJBJvgF79WQ4v57PSwzWiU23jw15mO3FA7sFF P6Hg== X-Gm-Message-State: AOAM530cAGMO6gxMUyDPISE/tyVYvZMNuIMa4n6H6HNMusuBOcSUxrFU 6vyHlOnjha+dMJ6CUeaoFu8= X-Received: by 2002:a05:600c:4f44:: with SMTP id m4mr3035485wmq.175.1615978348153; Wed, 17 Mar 2021 03:52:28 -0700 (PDT) Received: from agape ([5.171.81.191]) by smtp.gmail.com with ESMTPSA id n1sm7855036wro.36.2021.03.17.03.52.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Mar 2021 03:52:27 -0700 (PDT) From: Fabio Aiuto To: gregkh@linuxfoundation.org Cc: devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, Fabio Aiuto Subject: [PATCH] staging: rtl8723bs: remove unused code blocks completed Date: Wed, 17 Mar 2021 11:51:44 +0100 Message-Id: <20210317105144.3732-1-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 related item in TODO list ------------------------------------------------------- searched for other unused code blocks: grep -r '^\(#ifdef \|#if defined(\|#ifndef \)CONFIG_' \ drivers/staging/rtl8723bs/ drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c:#if defined(CONFIG_PM) drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c:#if defined(CONFIG_PM) drivers/staging/rtl8723bs/os_dep/ioctl_linux.c:#if defined(CONFIG_WEXT_PRIV) drivers/staging/rtl8723bs/include/drv_conf.h:#ifndef CONFIG_RTW_HIQ_FILTER drivers/staging/rtl8723bs/include/autoconf.h:#ifndef CONFIG_WIRELESS_EXT all blocks left are checked by existing defines. Signed-off-by: Fabio Aiuto --- drivers/staging/rtl8723bs/TODO | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/staging/rtl8723bs/TODO b/drivers/staging/rtl8723bs/TODO index 45065fd3fd5d..afa620ceb2d8 100644 --- a/drivers/staging/rtl8723bs/TODO +++ b/drivers/staging/rtl8723bs/TODO @@ -1,5 +1,4 @@ TODO: -- find and remove code blocks guarded by never set CONFIG_FOO defines - find and remove remaining code valid only for 5 GHz. Most of the obvious ones have been removed, but things like channel > 14 still exist. - find and remove any code for other chips that is left over -- 2.20.1