Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp593771rdg; Tue, 10 Oct 2023 22:34:35 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGB6DhpT3Bfwb1Jcbnc6DftnZisolXHsWehHpuvdY6SiQohuC5H+aIk/4HREdwVUoDq+pSx X-Received: by 2002:a05:6830:1b64:b0:6bc:f636:153a with SMTP id d4-20020a0568301b6400b006bcf636153amr19846689ote.6.1697002474879; Tue, 10 Oct 2023 22:34:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697002474; cv=none; d=google.com; s=arc-20160816; b=Bu+mSv6cr5z5kfu68fD9hxc0dlPcEAMQE4m4YO7GPHoR34lE8JOHsWcVhISsOlzogp cCw3iB66nO164xJH3Z6OJHl34hztqrdZrHA7/4zE/aTEom24WcBtmGoY4AZ29OOW0FL6 FEL/Rov1MmZ6ROq64OdAt6mhxpUWcTFRTQg3Z9C2gGz9VoVV9m4kej7oKs94jimfmxta NcpAXRRonMAlT2+g4wqYwQXrWTj8axbF+BudY+2AolxorRhlu2sLZ31j1EwmeIbBL9Ov GNLp3828mSi2jacTYv9jDy4sq0kj0CeDhOts/q+KCsozrfx3X7YNK0+h2g0/NwdzZgkq 7WFw== 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=sgLo/L7yY90xB+Ieb/YOa6Ov+WIngpwgCVcqs2gkT0g=; fh=pZpLv3JBu7ewThcXtBU3x3uGUeTqUHmHtpmV6AvLzGM=; b=g/nTVmYak87THl+nPzNpsdY0CbPzEPk4gP0vB53RnbVujFVVWyV1CWhzAAB7tnpz70 xbM3RsRwcugnAW78bQCXANYPqNDM7DwVQiKJDxB71MfKe8EFwdLzz6xtRZrS2GKblXzd sGc69FJ4gGGmFJLFVUKsi4Ws4XxtYOmdyUtaQYPphJsRvumAuB/R+DGnJGaVF2QrC97y wmM9D9iUgI89f9vwF34QJg209ARYbnWelvwE2xTRMYANH1KG8iwddAFr9yTMQ8P3Y6ll HyQ+bXh/vngTD9U0cp1C0CH71/O4KPkdnyzjOuC3jEBHro5hCZ4SqSzUJ5a1Sm8svHLW qzTA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id p52-20020a056a0026f400b0068a49a550b9si4527769pfw.139.2023.10.10.22.34.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Oct 2023 22:34:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::3:7 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 92106802C7EC; Tue, 10 Oct 2023 22:34:33 -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 S229578AbjJKFeW convert rfc822-to-8bit (ORCPT + 52 others); Wed, 11 Oct 2023 01:34:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59136 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229471AbjJKFeW (ORCPT ); Wed, 11 Oct 2023 01:34:22 -0400 Received: from rtits2.realtek.com.tw (rtits2.realtek.com [211.75.126.72]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2F8F98E for ; Tue, 10 Oct 2023 22:34:19 -0700 (PDT) X-SpamFilter-By: ArmorX SpamTrap 5.78 with qID 39B5Y5zU43588546, This message is accepted by code: ctloc85258 Received: from mail.realtek.com (rtexh36506.realtek.com.tw[172.21.6.27]) by rtits2.realtek.com.tw (8.15.2/2.92/5.92) with ESMTPS id 39B5Y5zU43588546 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 11 Oct 2023 13:34:05 +0800 Received: from RTEXMBS06.realtek.com.tw (172.21.6.99) by RTEXH36506.realtek.com.tw (172.21.6.27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.17; Wed, 11 Oct 2023 13:34:05 +0800 Received: from RTEXMBS04.realtek.com.tw (172.21.6.97) by RTEXMBS06.realtek.com.tw (172.21.6.99) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.34; Wed, 11 Oct 2023 13:34:04 +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; Wed, 11 Oct 2023 13:34:04 +0800 From: Ping-Ke Shih To: Dmitry Antipov CC: Kalle Valo , "linux-wireless@vger.kernel.org" Subject: RE: [PATCH] [v2] wifi: rtlwifi: use convenient list_count_nodes() Thread-Topic: [PATCH] [v2] wifi: rtlwifi: use convenient list_count_nodes() Thread-Index: AQHZ+/7juc9c9oGsZEmfgYn8IbNMc7BEEPhg Date: Wed, 11 Oct 2023 05:34:04 +0000 Message-ID: References: <20231011045227.7989-1-dmantipov@yandex.ru> In-Reply-To: <20231011045227.7989-1-dmantipov@yandex.ru> Accept-Language: en-US, zh-TW Content-Language: zh-TW x-originating-ip: [172.21.69.25] x-kse-serverinfo: RTEXMBS06.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-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,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]); Tue, 10 Oct 2023 22:34:33 -0700 (PDT) > -----Original Message----- > From: Dmitry Antipov > Sent: Wednesday, October 11, 2023 12:52 PM > To: Ping-Ke Shih > Cc: Kalle Valo ; linux-wireless@vger.kernel.org; Dmitry Antipov > Subject: [PATCH] [v2] wifi: rtlwifi: use convenient list_count_nodes() > > Simplify 'rtl92ee_dm_common_info_self_update()', > 'rtl8723be_dm_common_info_self_update()', and > 'rtl8821ae_dm_common_info_self_update()' by using > 'list_count_nodes()'. Compile tested only. > > Signed-off-by: Dmitry Antipov Acked-by: Ping-Ke Shih