Received: by 2002:a05:7412:f690:b0:e2:908c:2ebd with SMTP id ej16csp49414rdb; Wed, 18 Oct 2023 17:52:50 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFJjg58Hfw3uuHE4bcyuA1tlG/sj7fVkh6a+gz0694daJW/XPrlDr4ou/KfeXq3+x0g/wSP X-Received: by 2002:a05:6a21:7903:b0:16b:8154:2168 with SMTP id bg3-20020a056a21790300b0016b81542168mr688481pzc.26.1697676769821; Wed, 18 Oct 2023 17:52:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697676769; cv=none; d=google.com; s=arc-20160816; b=NSlfzMJmM31vSzPpO4k8Z9k4RDd6TZh+v86Sv4VBBFg1Ywa9fnn1yBmTQklcGT9ZqD 8Y8V2BUZ7tJf6bV+nW10xFBCVK2pKOJePePGGcl8oNjV+UHjM0KoSIueeTLRU7vFGnhP 2KcgRNX0KjYpWgdMhV2xFAgR/3Rks1AgElZsgEaEIesYZrUjrHsf+qc2l521aUZc4pW0 frqWIZRZPVxVmZC2PxdiPKHVxBYa9VO+ARSMi17WG+f6YXMb00iRc2ylyPscChtquBi6 wgfXGjJZCnXThJX9U8Ifh6nRslZUHAlncXQ1IwH5bVhgi4bfHDck3RbuwNLwi7Wa1C+v n0rQ== 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; bh=gxrcL2cl0oYlFoW68x1reKlVTfWNzTG5l+iPFu6Wxig=; fh=pZpLv3JBu7ewThcXtBU3x3uGUeTqUHmHtpmV6AvLzGM=; b=iI47vZI9KpHlv/6YZ93jDkGvY4NlC+SMK/91qkdpRqVa74Ib7N5vK1o3QkASbLvAhi ok15+MvzM1lIutQHBzhw0pM60EfzX1IQnX6xoalQBw9/94s61aWa29OgoiHrwtd5kEvK cgwNAxgcgwP8z7F7FOkx7zPNhvTuoLoF2m/GfMl62KUy1poly7k2oeV/eJAVySLh0WgR +Xn8GUZaOHoBrmGr4rNnvZSqiBUwOdUaDE2guqn1SfbDeGvPfpNYSRscJ8NrFTHfIc+q ZPUsztq/wIv2nHItr0EVCEInSzdRp4eky1RBmUbHo10N0l1osofg2Qs4SPk3btJgt5EI M5Ew== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Return-Path: Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id o11-20020a170902bccb00b001c5fc1f79f1si981669pls.165.2023.10.18.17.52.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 Oct 2023 17:52:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id B2F7A8213F04; Wed, 18 Oct 2023 17:52:48 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231283AbjJSAws convert rfc822-to-8bit (ORCPT + 52 others); Wed, 18 Oct 2023 20:52:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48722 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229966AbjJSAwr (ORCPT ); Wed, 18 Oct 2023 20:52:47 -0400 Received: from rtits2.realtek.com.tw (rtits2.realtek.com [211.75.126.72]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3B353118 for ; Wed, 18 Oct 2023 17:52:46 -0700 (PDT) X-SpamFilter-By: ArmorX SpamTrap 5.78 with qID 39J0qbp772253848, 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.93/5.92) with ESMTPS id 39J0qbp772253848 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 19 Oct 2023 08:52:37 +0800 Received: from RTEXMBS02.realtek.com.tw (172.21.6.95) 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; Thu, 19 Oct 2023 08:52:38 +0800 Received: from RTEXMBS04.realtek.com.tw (172.21.6.97) by RTEXMBS02.realtek.com.tw (172.21.6.95) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.7; Thu, 19 Oct 2023 08:52:38 +0800 Received: from RTEXMBS04.realtek.com.tw ([fe80::40c2:6c24:2df4:e6c7]) by RTEXMBS04.realtek.com.tw ([fe80::40c2:6c24:2df4:e6c7%5]) with mapi id 15.01.2375.007; Thu, 19 Oct 2023 08:52:38 +0800 From: Ping-Ke Shih To: Dmitry Antipov CC: Kalle Valo , "linux-wireless@vger.kernel.org" Subject: RE: [PATCH 3/3] wifi: rtlwifi: drop chk_switch_dmdp() from HAL interface Thread-Topic: [PATCH 3/3] wifi: rtlwifi: drop chk_switch_dmdp() from HAL interface Thread-Index: AQHaADkfOi8Z8+ZZ6U+oo7dBgjEeorBQTISw Date: Thu, 19 Oct 2023 00:52:38 +0000 Message-ID: <524f633cb609429fa362aa601a87fe62@realtek.com> References: <20231016135925.129223-1-dmantipov@yandex.ru> <20231016135925.129223-3-dmantipov@yandex.ru> In-Reply-To: <20231016135925.129223-3-dmantipov@yandex.ru> Accept-Language: en-US, zh-TW Content-Language: zh-TW x-originating-ip: [172.21.71.113] x-kse-serverinfo: RTEXMBS02.realtek.com.tw, 9 x-kse-antispam-interceptor-info: fallback x-kse-antivirus-interceptor-info: fallback Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 X-KSE-AntiSpam-Interceptor-Info: fallback 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=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_PASS 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Wed, 18 Oct 2023 17:52:48 -0700 (PDT) > -----Original Message----- > From: Dmitry Antipov > Sent: Monday, October 16, 2023 9:59 PM > To: Ping-Ke Shih > Cc: Kalle Valo ; linux-wireless@vger.kernel.org; Dmitry Antipov > Subject: [PATCH 3/3] wifi: rtlwifi: drop chk_switch_dmdp() from HAL interface > > Since there is no chip-specific code behind 'chk_switch_dmdp()', > there is no need to maintain function pointer in 'struct rtl_hal_ops' > and relevant common code may be simplified. Compile tested only. > > Signed-off-by: Dmitry Antipov Acked-by: Ping-Ke Shih Thanks for the cleanup.