Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp5115690rwp; Sun, 16 Jul 2023 20:11:31 -0700 (PDT) X-Google-Smtp-Source: APBJJlESzCm8jVM9Xcb9h5iHPmAjRFJZsvtbov+BhJXWNFdKtbXS/DCzxiXNpDxi7sba+zESqrpt X-Received: by 2002:a05:6402:42cc:b0:51f:e0f0:f2cd with SMTP id i12-20020a05640242cc00b0051fe0f0f2cdmr10037664edc.3.1689563491713; Sun, 16 Jul 2023 20:11:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689563491; cv=none; d=google.com; s=arc-20160816; b=CCtxP340MdiN5LeT+hoFYDZx98LRB7lt53evkDCGeNJRZ0nNQ29/gfzmx6oqnlErzk HI1hF1SAyBLDmfqWkur413rV1Hk7LyOAlmBoNf+JnAoZ+rY5ClYaUu/ENP6foFwewVVM y1LkwHUevc2bWzK56QzRTGnPa3Geoh9hBnmVz0SvjuVzoSek9DV4h7xNzzS6KtD8zm4h EEK0wpXZoy9yV4/HE0K+dYo2NhC6IszCzz2GigvTQb9nPQMlRuT8kwPrvXh3l6xlNp6c v8t/MPnnJFZ1xNntBHAOOeRYQxuKqBteSV/wER28U6r4dkmmBDOoFwsnXi07RoKBU9VY f9mg== 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=xIQNPgkLh+qSLbCcIaRotUrHc1G1V6BCHBV+zafBCYk=; fh=nsgM1ebd9VkJl3cOdvikrosAYyyt5SyyYhtkRIAmA/U=; b=ZBCdCTZZBfvACyopYBXJW38tvHofTNiSmmVkelhkEpl8hhUoe1cy4O/vpOvPUrIhgV PlOHgQHHAdRcGca+KcNfzhUnN4RweGbkkgViXIeo/DoGgMtX3dvfId/ToLO31vbDHRLs Z7jZBc6SyOOWI8EmE0ZV7ww5EaseGTeKld4JsFp+wlA2xvA4V5SV9Jnk+tfd03B9JSgy +LprzFtaK0z4XFaw5Hla8Ou5ZiM/Mn1hWfa/RW9ePjh43pC396ZA9iiTONtRW0nCpC4W CZFWEnvah1UNkynkKKCEzF7VMDXgtEM9b660mNAYbLg55Ngkw+onGBt7UWc/gixJYo2Z 4MIQ== 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 q6-20020aa7da86000000b0051ff079875csi7359086eds.55.2023.07.16.20.11.11; Sun, 16 Jul 2023 20:11:31 -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 S230383AbjGQCuQ convert rfc822-to-8bit (ORCPT + 58 others); Sun, 16 Jul 2023 22:50:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34068 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229920AbjGQCuP (ORCPT ); Sun, 16 Jul 2023 22:50:15 -0400 Received: from rtits2.realtek.com.tw (rtits2.realtek.com [211.75.126.72]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 9A3D61AA for ; Sun, 16 Jul 2023 19:50:14 -0700 (PDT) Authenticated-By: X-SpamFilter-By: ArmorX SpamTrap 5.77 with qID 36H2nvdK7030180, 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 36H2nvdK7030180 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=FAIL); Mon, 17 Jul 2023 10:49:57 +0800 Received: from RTEXDAG02.realtek.com.tw (172.21.6.101) 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; Mon, 17 Jul 2023 10:50:05 +0800 Received: from RTEXMBS04.realtek.com.tw (172.21.6.97) by RTEXDAG02.realtek.com.tw (172.21.6.101) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.7; Mon, 17 Jul 2023 10:50:04 +0800 Received: from RTEXMBS04.realtek.com.tw ([fe80::e138:e7f1:4709:ff4d]) by RTEXMBS04.realtek.com.tw ([fe80::e138:e7f1:4709:ff4d%5]) with mapi id 15.01.2375.007; Mon, 17 Jul 2023 10:50:04 +0800 From: Ping-Ke Shih To: Dmitry Antipov , Bernie Huang CC: "linux-wireless@vger.kernel.org" , "Kalle Valo" Subject: RE: [PATCH 4/4] [v6] wifi: rtw88: simplify vif iterators Thread-Topic: [PATCH 4/4] [v6] wifi: rtw88: simplify vif iterators Thread-Index: AQHZqZGJszPb2+CBRE2hmZofQSlwpK+9XsGQ Date: Mon, 17 Jul 2023 02:50:04 +0000 Message-ID: References: <20230628072327.167196-1-dmantipov@yandex.ru> <20230628072327.167196-4-dmantipov@yandex.ru> In-Reply-To: <20230628072327.167196-4-dmantipov@yandex.ru> 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: RTEXDAG02.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, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 > -----Original Message----- > From: Dmitry Antipov > Sent: Wednesday, June 28, 2023 3:23 PM > To: Bernie Huang > Cc: linux-wireless@vger.kernel.org; Ping-Ke Shih ; Kalle Valo ; > Dmitry Antipov > Subject: [PATCH 4/4] [v6] wifi: rtw88: simplify vif iterators > > Since all iterators called by 'rtw_iterate_vifs()' never uses > 'mac' argument, it may be omitted, and 'struct rtw_vifs_entry' > may be simplified accordingly. > > Signed-off-by: Dmitry Antipov Initially we used iterators of mac80211 that contains 'mac' argument, but driver didn't really use it. So remove them will be fine. Reviewed-by: Ping-Ke Shih [...]