Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp577344iog; Fri, 24 Jun 2022 09:32:55 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vQwjHQZaDgCKn/sw8+KI/vNNClXzd2FtQIuQ6EysUQRTVetmgMPnyc01N/4EOOVVsdyqBB X-Received: by 2002:a17:906:ce2a:b0:723:1587:9021 with SMTP id sd10-20020a170906ce2a00b0072315879021mr10707689ejb.725.1656088375048; Fri, 24 Jun 2022 09:32:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656088375; cv=none; d=google.com; s=arc-20160816; b=wHlNPWRopQaM2lv3Va4RK1lMwWeSylJqZuT3VLdRvOdfKaLLjXFx9C6jenmZ0VJzf5 X02S3dl35wetAE49dSchPh9MCRMJgk7P0rNSN7TI+OY1599qeHX+sqR4JoufQ+3fcgzp hWGRObYVwYRZm3T8mKFI5nazkenOGEjDnBVP4G0SlGGolC5M2YWdoeWlOjKrzK+0bTUM tWxqLrJnrDkWZqomprXmZ3zgkLbJHkF7k6HnH4zzyWI86tJyk6IoCKu0P9h8WMoB1T2P QMibIv+IoGK2x/Ge3HvLrYrfRRyAQG5yH2e5aJc5I3DJKnpMldGTc6CXn/Du3JTPPv34 kteg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=gvN50YTRbbw/CZbnbMbOb1TEK/TeMnMyqf/OR0LURDo=; b=JrnmBHhY/P3D7/+tYIC8h22ADrYOV5Tn/0pStCbbVUDu+PtbDcCEhtaeZzp1h4Sxjp XbwsKE5EAN59GHbWb4gCc3q/0XxQpFJXLtAGJ6gSAIbpAmN99NXxzbFFcS3011AixYcO ZDhJmQ+89oJQoHrvDzm4BPZXSHf6Dtp5Usm2cSnlIqfQ2ovTPsrIzAM1M3zOdrQ/gjO/ 9/ElsqARE4TIc3GqPxewtSrB5IXqqRQvtvx/zRVmz6dgFjNauA84XhrWyNIdAU+YJFTT 9B8gzlcwtOIzpN234Mhn681LSSlcLRuKJNULbtbhYnBTEbeO1wdsoY/dMYezWyy3LLPp 9yYA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b="Iz9RJy8/"; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f22-20020a0564021e9600b004356e6cf5aesi741124edf.363.2022.06.24.09.32.33; Fri, 24 Jun 2022 09:32:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b="Iz9RJy8/"; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230063AbiFXQb0 (ORCPT + 65 others); Fri, 24 Jun 2022 12:31:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58304 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229605AbiFXQbZ (ORCPT ); Fri, 24 Jun 2022 12:31:25 -0400 Received: from alexa-out-sd-01.qualcomm.com (alexa-out-sd-01.qualcomm.com [199.106.114.38]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4C5C650B2B; Fri, 24 Jun 2022 09:31:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; i=@quicinc.com; q=dns/txt; s=qcdkim; t=1656088285; x=1687624285; h=message-id:date:mime-version:subject:to:cc:references: from:in-reply-to:content-transfer-encoding; bh=gvN50YTRbbw/CZbnbMbOb1TEK/TeMnMyqf/OR0LURDo=; b=Iz9RJy8/dEyC9gJ6UX3YjRORilXyvUEdP3tQk4iq5gnU6wOUL9OLaF+6 mcHHPn9bRUCq92e+VrXuYWBT91cVA4XZOK/CrdrWFeUy2O8IWQfBtTqP2 fIPTvk1LpJ3VwAmkTKSQ7I2wCc2zR9hb8oklvOi8sFl3wmYUuryDKSC9D U=; Received: from unknown (HELO ironmsg04-sd.qualcomm.com) ([10.53.140.144]) by alexa-out-sd-01.qualcomm.com with ESMTP; 24 Jun 2022 09:31:25 -0700 X-QCInternal: smtphost Received: from nasanex01c.na.qualcomm.com ([10.47.97.222]) by ironmsg04-sd.qualcomm.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Jun 2022 09:31:24 -0700 Received: from nalasex01a.na.qualcomm.com (10.47.209.196) by nasanex01c.na.qualcomm.com (10.47.97.222) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.22; Fri, 24 Jun 2022 09:31:24 -0700 Received: from [10.110.111.5] (10.80.80.8) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.22; Fri, 24 Jun 2022 09:31:23 -0700 Message-ID: <3013994a-487c-56eb-42d6-b8cdf7615405@quicinc.com> Date: Fri, 24 Jun 2022 09:31:22 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.10.0 Subject: Re: [PATCH v2] brcmfmac: Remove #ifdef guards for PM related functions Content-Language: en-US To: Arend Van Spriel , Paul Cercueil , Franky Lin CC: , , , , References: <20220623124221.18238-1-paul@crapouillou.net> <9f623bb6-8957-0a9a-3eb7-9a209965ea6e@gmail.com> From: Jeff Johnson In-Reply-To: <9f623bb6-8957-0a9a-3eb7-9a209965ea6e@gmail.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nalasex01a.na.qualcomm.com (10.47.209.196) X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On 6/24/2022 2:24 AM, Arend Van Spriel wrote: > On 6/23/2022 2:42 PM, Paul Cercueil wrote: [snip] >> -    if (sdiodev->freezer) { >> +    if (IS_ENABLED(CONFIG_PM_SLEEP) && sdiodev->freezer) { > > This change is not necessary. sdiodev->freezer will be NULL when > CONFIG_PM_SLEEP is not enabled. but won't the compiler be able to completely optimize the code away if the change is present?