Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp415776ybn; Tue, 1 Oct 2019 23:42:28 -0700 (PDT) X-Google-Smtp-Source: APXvYqzmErDxzEbx+D7q7yYP+r7IHJBNFZHAeIRflaAFkpq9VVR5B31tFJNm5oVl1bdqp6nlbDKj X-Received: by 2002:a17:906:7f03:: with SMTP id d3mr1641548ejr.115.1569998548394; Tue, 01 Oct 2019 23:42:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569998548; cv=none; d=google.com; s=arc-20160816; b=qMoWl11FHCOVOCFyusHJUWcShdNyUL8Q4OyOg2sILZiUoPMseKCKtmLAqxYPAP1tNH 2fSCnrsfB0go4MAckp4NxYKTDpSF7EXoj1S9n7v/46ZTHkEea3PdMs+hy0WP8qdO1IVd fo0dqEu8m4iKgMoM07gPbRRWYHl4qacUPzM+/YXyeawftKdnT23hAJAfX0qCOiT2qs2o i1tYD74revEpoB6LpEt57jKM+zlrK/lNVNzd3Vi7SKvVyI+P/iPKLkKHlaS4pKHiIM// om6ndXiNZ8EikeZwtCBphts8JZTxu8UuOVTPHkza5hUfdzxQBr0CRDiz2gWnSXYACGrd lIbA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:date:message-id:user-agent:cc:to :references:in-reply-to:from:subject:content-transfer-encoding :mime-version:dmarc-filter:dkim-signature:dkim-signature; bh=5Gjg9+iT8vrLPW9z1Srgy+ddKoV8Ul2DFjTrF7oqwY8=; b=I3cRj7qL6nfjhzwTOJ2lc9ylvnL37z9JQycqrSB7yPpWu1f7lIhb3WIxVpjgGgQTKe DaYtaWtWNGKG1FeRMiKoEQE/cAV/PBFuXSDmQd4iI+6BvDqBuNG2rZ1c3Mg1u/DW07MS 2RTq8zYT6vHT0iUtLNchAWh/wATdK2PFyqq9jo0dww0zIDzXs+1n50HmSXlSioZQBbMv kpVh/ZuKNtsABefDGBosH4m1vWwsZRXOwTh0ahrLpOMTHUISz544+tmlU7OjsAr7kySf I6Tg8CsanuDchV2ASXP+pyMmUMvO0hH24gXRpNupS6POjBhB1ivOwBiYTya9SwC/hQKZ REhQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=CMQNWiHW; dkim=pass header.i=@codeaurora.org header.s=default header.b=RsOyaqxA; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id me23si10151720ejb.344.2019.10.01.23.42.03; Tue, 01 Oct 2019 23:42:28 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=CMQNWiHW; dkim=pass header.i=@codeaurora.org header.s=default header.b=RsOyaqxA; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726675AbfJBEe1 (ORCPT + 99 others); Wed, 2 Oct 2019 00:34:27 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:48334 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725900AbfJBEe1 (ORCPT ); Wed, 2 Oct 2019 00:34:27 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 82BD06118D; Wed, 2 Oct 2019 04:34:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1569990866; bh=wHJyThKok+oZ6Nt2f78hHuDioA//IWZAwkWNezb71oc=; h=Subject:From:In-Reply-To:References:To:Cc:Date:From; b=CMQNWiHW7NI5JNrgf/Z9qJTk+md0/xJciKctcJ+dQ4hyoJVjQHlw79vrQi5UV0vsC PX5xaahhwPMg3EBonbvKHF3amBsJAIcHmQX/JSehlDotwjJ/QU0+CLW3kQcb828dXj DexbopA7UvjFBlb901u0ASqKJl7MbXkUzOYbKs1o= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on pdx-caf-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=2.0 tests=ALL_TRUSTED,BAYES_00, DKIM_INVALID,DKIM_SIGNED,MISSING_DATE,MISSING_MID,SPF_NONE autolearn=no autolearn_force=no version=3.4.0 Received: from potku.adurom.net (88-114-240-156.elisa-laajakaista.fi [88.114.240.156]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: kvalo@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 619E4602F2; Wed, 2 Oct 2019 04:34:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1569990866; bh=wHJyThKok+oZ6Nt2f78hHuDioA//IWZAwkWNezb71oc=; h=Subject:From:In-Reply-To:References:To:Cc:From; b=RsOyaqxAx12k2Xd423TqNZvwl4Y79PXGf/qURYschlNE2BzPvHGgQVsJb6kjN/f+l R0RguzhTI+98Pd6RNO+JW6+19sXtmxtRTfq7xTjnEzmgEyv5HRzGw9xZchDEIBCRMG n/OyAy14/yJTAHR+u+iJ14AvWZhHG0YyXkYqA6nw= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 619E4602F2 Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=kvalo@codeaurora.org Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [PATCH v2 01/12] rtw88: remove redundant flag check helper function From: Kalle Valo In-Reply-To: <20191002023128.12090-2-yhchuang@realtek.com> References: <20191002023128.12090-2-yhchuang@realtek.com> To: Cc: , User-Agent: pwcli/0.0.0-git (https://github.com/kvalo/pwcli/) Python/2.7.12 Message-Id: <20191002043426.82BD06118D@smtp.codeaurora.org> Date: Wed, 2 Oct 2019 04:34:26 +0000 (UTC) Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org wrote: > From: Yan-Hsuan Chuang > > These helper functions seems useless. And in some cases > we want to use test_and_[set/clear]_bit, these helpers > will make the code more complicated. So remove them. > > Signed-off-by: Yan-Hsuan Chuang 12 patches applied to wireless-drivers-next.git, thanks. 3c5196058508 rtw88: remove redundant flag check helper function 6f0b0d28fde8 rtw88: pci: reset H2C queue indexes in a single write 61d7309562b5 rtw88: not to enter or leave PS under IRQ 3d391c06d917 rtw88: not to control LPS by each vif 5235d63640c6 rtw88: remove unused lps state check helper d3e20fd17d0b rtw88: LPS enter/leave should be protected by lock 37ba5de2e731 rtw88: leave PS state for dynamic mechanism 27e117e4b01b rtw88: add deep power save support 3a068a2a6585 rtw88: not to enter LPS by coex strategy d3be4d115be0 rtw88: select deep PS mode when module is inserted 04b786e00987 rtw88: add deep PS PG mode for 8822c bcde60e599fb rtw88: remove misleading module parameter rtw_fw_support_lps -- https://patchwork.kernel.org/patch/11170203/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches