Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp4903446rwl; Mon, 10 Apr 2023 19:46:19 -0700 (PDT) X-Google-Smtp-Source: AKy350ZnzLa6tidr6k6Zw3fil6pKAjJb0FFB+3mvIAqUUn3dBBQWWWzBA9Iq/mlXtxpUiDwVxecG X-Received: by 2002:a17:906:ca44:b0:90b:53f6:fd8b with SMTP id jx4-20020a170906ca4400b0090b53f6fd8bmr9430495ejb.31.1681181178816; Mon, 10 Apr 2023 19:46:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681181178; cv=none; d=google.com; s=arc-20160816; b=Xq+QE/ELDFiJsAGe0KaTarN2fj0dbeNLc4K8bPWsn6MPsUgdjLHlz3NpTbkxXar7Ds mk931NeJZz5JTZjN7r/3uE/NYDOElh981K9r8n1sLY4sxkr+rT0Bgl5ednmkt+ZAiRzx QB5qj7qWwVUTfe9O1t6ugpzUahCoRenvIYS4YlUquK5W5megxgZYN/u2E93rkMm9krJb I0vZW6TD1QvsaiFqs0iPDNcjkODS6kmdzZ/3PtzbZ0iEKW9yKIGswXhyqiVx1I4GaEsC 5e8WT+Mq3r7bnhPMiRJrkHQWsWl/DYY5skQyNjG9NeAkoWI6LPjBI71SwUv+5Lngahz9 b88w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:authenticated-by; bh=rFRecOHNN0WlMCHfo6Q34nsldRBBsH7BmdL7hvVAnbc=; b=PaN63JeoE2ch//i5Y6Oyce4E6u1tElclDZASPZCxTn47JPvWRuhzBPFZ9D21jtjKrX 6XIF77Ep5KeZ9DS0GImXY9jPzDzPp4+gkJXeWQBb+eylEpdvpTWeJaa2gPbwQj3WupKj F9RkfU+zb+QB+herTi3OnV+ya1TSeOzAvpq7sD+Io0jDiSb555MdOjME1XbOeqGy+DTH im6q5HB5kHVkxUDSDNWn9R4F36IKLa4m0QwEHrTXjhob00LwihOunTFVOIzU/1Z6/g82 tTBzvzbnHUwvzcCQY6oxNnOzwT62NfzBcuOZoeJsV9MKGRGam3eE4VY4P5vXqXtHoTvz zl3w== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t20-20020a1709064f1400b0094a9844b7ccsi358014eju.588.2023.04.10.19.45.59; Mon, 10 Apr 2023 19:46:18 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229862AbjDKCg4 (ORCPT + 61 others); Mon, 10 Apr 2023 22:36:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36260 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229868AbjDKCgz (ORCPT ); Mon, 10 Apr 2023 22:36:55 -0400 Received: from rtits2.realtek.com.tw (rtits2.realtek.com [211.75.126.72]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 98A682D41 for ; Mon, 10 Apr 2023 19:36:50 -0700 (PDT) Authenticated-By: X-SpamFilter-By: ArmorX SpamTrap 5.77 with qID 33B2aOfU5031978, This message is accepted by code: ctloc85258 Received: from mail.realtek.com (rtexh36505.realtek.com.tw[172.21.6.25]) by rtits2.realtek.com.tw (8.15.2/2.81/5.90) with ESMTPS id 33B2aOfU5031978 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=OK); Tue, 11 Apr 2023 10:36:24 +0800 Received: from RTEXMBS03.realtek.com.tw (172.21.6.96) by RTEXH36505.realtek.com.tw (172.21.6.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.32; Tue, 11 Apr 2023 10:36:46 +0800 Received: from RTEXMBS04.realtek.com.tw (172.21.6.97) by RTEXMBS03.realtek.com.tw (172.21.6.96) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.7; Tue, 11 Apr 2023 10:36:46 +0800 Received: from RTEXMBS04.realtek.com.tw ([fe80::b4a2:2bcc:48d1:8b02]) by RTEXMBS04.realtek.com.tw ([fe80::b4a2:2bcc:48d1:8b02%5]) with mapi id 15.01.2375.007; Tue, 11 Apr 2023 10:36:46 +0800 From: Ping-Ke Shih To: Bitterblue Smith , "linux-wireless@vger.kernel.org" CC: Jes Sorensen Subject: RE: [PATCH v2 1/2] wifi: rtl8xxxu: Clean up some messy ifs Thread-Topic: [PATCH v2 1/2] wifi: rtl8xxxu: Clean up some messy ifs Thread-Index: AQHZa8Iid6Ni9INjWEGCr0EwEDRDXK8lZVIA Date: Tue, 11 Apr 2023 02:36:45 +0000 Message-ID: <3a915792a3c74bb09e8e3b12f402ddf1@realtek.com> References: In-Reply-To: Accept-Language: en-US, zh-TW Content-Language: zh-TW X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [172.21.69.188] x-kse-serverinfo: RTEXMBS03.realtek.com.tw, 9 x-kse-attachmentfiltering-interceptor-info: no applicable attachment filtering rules found x-kse-antivirus-interceptor-info: scan successful x-kse-antivirus-info: =?utf-8?B?Q2xlYW4sIGJhc2VzOiAyMDIzLzQvMTEg5LiK5Y2IIDEyOjExOjAw?= x-kse-bulkmessagesfiltering-scan-result: protection disabled Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-KSE-ServerInfo: RTEXH36505.realtek.com.tw, 9 X-KSE-AntiSpam-Interceptor-Info: fallback X-KSE-Antivirus-Interceptor-Info: fallback X-KSE-AntiSpam-Interceptor-Info: fallback X-Spam-Status: No, score=0.0 required=5.0 tests=SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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 DQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogQml0dGVyYmx1ZSBTbWl0 aCA8cnRsODgyMWNlcmZlMkBnbWFpbC5jb20+DQo+IFNlbnQ6IE1vbmRheSwgQXByaWwgMTAsIDIw MjMgMTE6MzYgUE0NCj4gVG86IGxpbnV4LXdpcmVsZXNzQHZnZXIua2VybmVsLm9yZw0KPiBDYzog SmVzIFNvcmVuc2VuIDxKZXMuU29yZW5zZW5AZ21haWwuY29tPjsgUGluZy1LZSBTaGloIDxwa3No aWhAcmVhbHRlay5jb20+DQo+IFN1YmplY3Q6IFtQQVRDSCB2MiAxLzJdIHdpZmk6IHJ0bDh4eHh1 OiBDbGVhbiB1cCBzb21lIG1lc3N5IGlmcw0KPiANCj4gQWRkIHNvbWUgbmV3IG1lbWJlcnMgdG8g cnRsOHh4eHVfZmlsZW9wcyBhbmQgdXNlIHRoZW0gaW5zdGVhZCBvZg0KPiBjaGVja2luZyBwcml2 LT5ydGxfY2hpcC4NCj4gDQo+IFNpZ25lZC1vZmYtYnk6IEJpdHRlcmJsdWUgU21pdGggPHJ0bDg4 MjFjZXJmZTJAZ21haWwuY29tPg0KDQpSZXZpZXdlZC1ieTogUGluZy1LZSBTaGloIDxwa3NoaWhA cmVhbHRlay5jb20+DQoNCj4gLS0tDQo+IHYyOg0KPiAgLSBEb24ndCBzZXQgaW5pdF9yZWdfcGt0 X2xpZm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