Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp4445165pxf; Tue, 16 Mar 2021 13:45:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxoPbDHmL5uz/wdvMq6Cndwj8QqryOB2VXmYNCD0FHSdzSY+C1RsDwTx5Dh4iAaifOGZsyC X-Received: by 2002:a17:907:766f:: with SMTP id kk15mr31991889ejc.24.1615927500758; Tue, 16 Mar 2021 13:45:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1615927500; cv=none; d=google.com; s=arc-20160816; b=Q+Uc3DKYndq/GBMadqCp9NSp4FSCnGezFv+yiXR9pd3TR+4Tz0yXZapUA5tv1g7ZE7 uOxCLm/QySoYtyhMmNdGWzpsgMPd4sdhNsQWYVs9h7X6XGO/OTybmmyp02ODjjNuicWC WmXPKWejlSh49BlZ+kAdzV7pNkmDpUwSdLfZo8ik0mqvKgHOS77C6RT7/7cLSA/yTQSs 0hBkMB673CX69etiyheKrr/983+QPIJioVlVR+BJTi+ISfdo2/jKpQU7P6YdeQJw6av0 I5jKNVDz7/adEMF1FhLd0n2fMftfJSlrNNC/sifvyyKDcvCwvI4nrq0iwqOGOoM73h81 4XvQ== 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=L5twvp7di1yhWCRKXbxIy4y2Nz4VGr9DJXLPrPpJYT8=; b=ed30LQqejQELfmvke4XD3TgmVNg1smMGfGLnYIAfyAnLEFaE8xW31UX42tauoOkSez tv/vSBxtsFneuLgsKpblHmo4vlCkpNSuU3cIMzjwgB/an4/qSVwfU1bqEYnTw2dlvF7F AJxjV7q64EAyWQqqF27ygdlDm29sgXKqZhSUFF6Fo//79lnH5i2iM6QfZvbRvzZo50kR HLoCA3AZ3GdHcBINFT2UuJ3AV3FUQEAOkt0esMccufYJS3eznIaxb96JSKX8sTucVItT NLIATmgF7sWFClbPoJz9NxFYkpiNr8/uHNKATFM0NLpYVj3JZ8ACWqwIZC2ssV3NnqO2 La2A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=ck8etA8U; 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 f1si5714525ejz.585.2021.03.16.13.44.34; Tue, 16 Mar 2021 13:45:00 -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=ck8etA8U; 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 S238023AbhCPPcp (ORCPT + 99 others); Tue, 16 Mar 2021 11:32:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36600 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237953AbhCPPcG (ORCPT ); Tue, 16 Mar 2021 11:32:06 -0400 Received: from mail-wr1-x430.google.com (mail-wr1-x430.google.com [IPv6:2a00:1450:4864:20::430]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7CC61C06174A for ; Tue, 16 Mar 2021 08:32:05 -0700 (PDT) Received: by mail-wr1-x430.google.com with SMTP id e9so7658649wrw.10 for ; Tue, 16 Mar 2021 08:32:05 -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=L5twvp7di1yhWCRKXbxIy4y2Nz4VGr9DJXLPrPpJYT8=; b=ck8etA8UkrRzOaO3cwSFuFwpGexiYJbFMlQu6gPi6uVG4fSbW2oVRcl6+Be8fh04+F tRN/0RP2x+ierKyf+1w9NL7xIKVtqdKJszdqDIyT4o/nvTgzrP5sUGv7X3oYpxmslcp/ N4TM3qcoep7uf1anEbohdzRkIFFWfQsUqxn2g7e6Iq42+sWzg4rHhYxeMvIMzNOmMxNm aVIQIuZHC2Z9qhqFyKbtFhCoWD6Dh+775ogSmJex007bayiEatUgYzMlM0ZxGEfP3Ax+ oUxD3fuitHhZVCJCli7IfNL0huMqxVvzV8zifC65TzaYsH3FcIg6r7f0dl9MVhVKt4gq r9Ew== 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=L5twvp7di1yhWCRKXbxIy4y2Nz4VGr9DJXLPrPpJYT8=; b=ViZ6pboTCQVOLvb1ycvcctT/wQUnYLvdE4UW7KwdbgwClStzSSwB2JtCPzYpTCODuP ZwjPNYK4NESdwQlbfsBdloEPl71tJXKOt2xqLupZb1M2IEMoOujLSwbClHZPG8ZhRf29 33GVvAuFYCFFA204h6DRGAuncd55E3B8+RVRh/tKy3+NxkwRDi4IxoU0NDJopUvs9gL4 GtHJGj8MvLvQEjhtLfefly8P3UhBFqwkLMso8zu5PQDD5YCzJOyuetZ5OJRWo1hBO3SP NExMfZ9MhPRxQWJZJSFHXC1LdZCIkHkzEyXkRWVUjYZSeU+djidYhOcyKVOlw4Jyv9O3 PYqA== X-Gm-Message-State: AOAM533c/Uy7F2I5J0nc9kafB5Bo6uUiTG//7rdF+rocXw9SJqGAuv7U fGK+dJflt/fsVC5wmzmBLGk= X-Received: by 2002:adf:a703:: with SMTP id c3mr5729309wrd.72.1615908724344; Tue, 16 Mar 2021 08:32:04 -0700 (PDT) Received: from agape.jhs ([5.171.72.71]) by smtp.gmail.com with ESMTPSA id i11sm22170605wro.53.2021.03.16.08.32.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 Mar 2021 08:32:04 -0700 (PDT) Date: Tue, 16 Mar 2021 16:32:01 +0100 From: Fabio Aiuto To: gregkh@linuxfoundation.org Cc: devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org Subject: [PATCH 07/12] staging: rtl8723bs: remove unused code blocks conditioned by never set CONFIG_USB_VENDOR* Message-ID: <037983b85ccc2747284c9002a51c28a7290321ea.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_USB_VENDOR family defines 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/drv_conf.h | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/drivers/staging/rtl8723bs/include/drv_conf.h b/drivers/staging/rtl8723bs/include/drv_conf.h index 7fc88b07a25e..9cef9ce589a1 100644 --- a/drivers/staging/rtl8723bs/include/drv_conf.h +++ b/drivers/staging/rtl8723bs/include/drv_conf.h @@ -8,16 +8,6 @@ #define __DRV_CONF_H__ #include "autoconf.h" -//About USB VENDOR REQ -#if defined(CONFIG_USB_VENDOR_REQ_BUFFER_PREALLOC) && !defined(CONFIG_USB_VENDOR_REQ_MUTEX) - #warning "define CONFIG_USB_VENDOR_REQ_MUTEX for CONFIG_USB_VENDOR_REQ_BUFFER_PREALLOC automatically" - #define CONFIG_USB_VENDOR_REQ_MUTEX -#endif -#if defined(CONFIG_VENDOR_REQ_RETRY) && !defined(CONFIG_USB_VENDOR_REQ_MUTEX) - #warning "define CONFIG_USB_VENDOR_REQ_MUTEX for CONFIG_VENDOR_REQ_RETRY automatically" - #define CONFIG_USB_VENDOR_REQ_MUTEX -#endif - #define DYNAMIC_CAMID_ALLOC #ifndef CONFIG_RTW_HIQ_FILTER -- 2.20.1