Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp2771276pxf; Sun, 14 Mar 2021 11:14:46 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzgj1eQHRSsyyyHjL992Oj2KDdjpEDuM9/+a62Z9SfbawSDfa1spp7vz+rc3gYRTDcQ9hED X-Received: by 2002:aa7:c4cc:: with SMTP id p12mr25322600edr.325.1615745686002; Sun, 14 Mar 2021 11:14:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1615745685; cv=none; d=google.com; s=arc-20160816; b=P8AHunZXhxKhflSFzIgyrF0KVpunPOuhXv1s6FzMuUTsS8BBJ5v2I/UixqE5ObfiH5 SBsuFJzdyVFCSaaI4x3gBPQCtXjYywkqDV6+t3ZGLjEi1pVR7GaIAhkZqCkVQSnkMP2X 05uy7J18YhobvnOtEXWDYBQx5EOZVRWupBkpuIgWAFsrSIxn7NM+FfqM+olhABXmIaRS WgSPZ8+ow3GwDvx01iTjXYBlHiGEX93j22lRb++mh2FBO4e8XlgxVNcNg85udLhwshwP KLo+aall6iiNB97KdnSf4NR6AG8ZVLfAZexuLryYf4FN3huVSalCLDbLRCmw/hO3CepM Vwxw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:content-disposition:mime-version :message-id:subject:cc:to:from:date:dkim-signature; bh=SYAbB9XrQfsURJ4pHZt6jSpiz+XrWOVC6B16BC7Az3E=; b=dufR6kQbbCrYJ9k/jrzT5ZFoOSqQM3GHPt6kUVEbnwKRrb45zdMhGAUY9XlMNnDAyk nh0R1IQZrYxwwc5W4sh2psc9oAk0e6W8dpW9F741y+l3jIzSKttp36e62wVrsum25Uf5 47dQeYoX9H8w6u4UF3RZri+w14HKiNgyWNDhH6rX+mhpYAFvN4Y5yDnILCLcRJgXQKyd 58V2Wxo9AZLi+yU9/UBVSFUHrp2VYz6BcZ/+G6kQIN8TduCQ+cgSyod91ZNqfMgoOj5w 4nFDqLk0gbycWOneoeDdZ/ZX6mpo/kWpxSms3Gjv3gw9JeIUmwYEELtgaXRPKxJ367TF 0EdQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=CPw0waUP; 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 u5si8521190ejg.130.2021.03.14.11.14.23; Sun, 14 Mar 2021 11:14:45 -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=CPw0waUP; 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 S234064AbhCNSMr (ORCPT + 99 others); Sun, 14 Mar 2021 14:12:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44514 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233999AbhCNSML (ORCPT ); Sun, 14 Mar 2021 14:12:11 -0400 Received: from mail-wm1-x335.google.com (mail-wm1-x335.google.com [IPv6:2a00:1450:4864:20::335]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D30B5C061574 for ; Sun, 14 Mar 2021 11:12:10 -0700 (PDT) Received: by mail-wm1-x335.google.com with SMTP id w203-20020a1c49d40000b029010c706d0642so1341837wma.0 for ; Sun, 14 Mar 2021 11:12:10 -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:mime-version:content-disposition :user-agent; bh=SYAbB9XrQfsURJ4pHZt6jSpiz+XrWOVC6B16BC7Az3E=; b=CPw0waUPUxTTA2v7BYebc42Sp9zi+3eZpIhLJvzVWfOeVzSVjdQU89pOGceOkGO7Zy FhlHGK3An2H6Bvna7PFmEVLUtX1czAjnWCKUDBWus2m+njgEX/S/edaPpbDW2Ai+p6GS S33cHHbWkHPC7G36DrKqZUdNzWxOIrXgcp2wJe3wNDpTSZznay2BXyfaCQqGzsSzP/Ub Dc8SceXByapmvdARIBBelLiRXAGhFelzaB6ml8VmEw3imAuvyY9Gjl378mD/htojsZlB GWcGfWBeHkG0XnqIrbPbWtA28f8Yy83IilgLRvsjTNMq++io0cl9v213VGn7OZA1QjHs Clgg== 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:mime-version :content-disposition:user-agent; bh=SYAbB9XrQfsURJ4pHZt6jSpiz+XrWOVC6B16BC7Az3E=; b=Z1GMg2Thahdeuo3k0VC/gxLBPCcgPnVu54CKf8HKl3zWFB8+A74tFdoDXqYtbX222o cirgEGwd2IJqgblH5qYGGNmllwfV9lMQddw0XrBy4BB3UZqeTkyc1TPCd2qoFXFxJYTX aTiDUO3nO1tY9qWrafHVp75UsqGrWcPDvu2nYmhnYNBnQHFGHm/rOSeCru7WvvJxjq3y z8bvWpKA/BfPp1nL9q7N8HY626gp2bSzlyoSjPhuFuTDi7KpnfKfzODpYvTLTdGDM5te T4yeMVJOQ5eDbxpTxDJctVFajlWJ/ty7nquIoYNeRNDV/pC+K4j7jwXB3eLbNhfYOe8L iGsw== X-Gm-Message-State: AOAM531CrL32fmRvpj7osTVPO2o+nL7dfQPKIs/G0Ku5LyDyX97JpWUi jyW2fDRU2BsBKtPUnWMOew7eV8uOetep4w== X-Received: by 2002:a1c:df8a:: with SMTP id w132mr22504509wmg.53.1615745529550; Sun, 14 Mar 2021 11:12:09 -0700 (PDT) Received: from agape.jhs (an-19-176-195.service.infuturo.it. [151.19.176.195]) by smtp.gmail.com with ESMTPSA id j13sm15872736wrt.29.2021.03.14.11.12.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 14 Mar 2021 11:12:09 -0700 (PDT) Date: Sun, 14 Mar 2021 19:12:06 +0100 From: Fabio Aiuto To: gregkh@linuxfoundation.org Cc: devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org Subject: [PATCH v3 0/2] staging: rtl8723bs: remove unused code blocks Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch set removes unused code clocks as required in TODO file: find and remove code blocks guarded by never set CONFIG_FOO defines Changes in v3: - rebase of remaining conflicting patches Changes in v2: - modified subject lines to make them unique - added a patch previously excluded (removal of CONFIG_PNO_SET_DEBUG code) Fabio Aiuto (2): staging: rtl8723bs: remove unused code blocks conditioned by never set CONFIG_PNO_SUPPORT staging: rtl8723bs: remove unused code blocks conditioned by never set CONFIG_WOWLAN drivers/staging/rtl8723bs/core/rtw_mlme.c | 3 - drivers/staging/rtl8723bs/core/rtw_pwrctrl.c | 24 +- .../staging/rtl8723bs/core/rtw_wlan_util.c | 61 +- drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c | 825 +----------------- .../staging/rtl8723bs/hal/rtl8723b_hal_init.c | 43 +- drivers/staging/rtl8723bs/hal/sdio_halinit.c | 248 +----- drivers/staging/rtl8723bs/hal/sdio_ops.c | 4 +- drivers/staging/rtl8723bs/include/autoconf.h | 3 - drivers/staging/rtl8723bs/include/drv_types.h | 5 - .../rtl8723bs/include/drv_types_sdio.h | 2 +- .../staging/rtl8723bs/include/hal_com_h2c.h | 88 +- drivers/staging/rtl8723bs/include/hal_intf.h | 5 - .../staging/rtl8723bs/include/rtl8723b_cmd.h | 4 +- .../staging/rtl8723bs/include/rtl8723b_hal.h | 17 - .../staging/rtl8723bs/include/rtl8723b_spec.h | 10 - drivers/staging/rtl8723bs/include/rtw_mp.h | 3 - .../staging/rtl8723bs/include/rtw_pwrctrl.h | 62 -- .../staging/rtl8723bs/include/rtw_security.h | 3 - drivers/staging/rtl8723bs/include/sdio_ops.h | 8 +- drivers/staging/rtl8723bs/include/sta_info.h | 5 - .../staging/rtl8723bs/os_dep/ioctl_cfg80211.c | 56 -- .../staging/rtl8723bs/os_dep/ioctl_linux.c | 3 - drivers/staging/rtl8723bs/os_dep/os_intfs.c | 238 +---- drivers/staging/rtl8723bs/os_dep/sdio_intf.c | 5 - 24 files changed, 29 insertions(+), 1696 deletions(-) -- 2.20.1