From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9FC59CDB47E for ; Thu, 19 Oct 2023 00:52:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231283AbjJSAws convert rfc822-to-8bit (ORCPT ); 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 Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org > -----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.