Received: by 2002:a05:7412:8521:b0:e2:908c:2ebd with SMTP id t33csp1926861rdf; Sun, 5 Nov 2023 21:53:41 -0800 (PST) X-Google-Smtp-Source: AGHT+IEq5XWawZRI2oIbk7XhUONK6ISidfnR+hoUH1v6emWRYMXOYcUfLLYItn5XNtF8Ya1gkUJS X-Received: by 2002:a25:8287:0:b0:d9a:4d6f:1b27 with SMTP id r7-20020a258287000000b00d9a4d6f1b27mr25106142ybk.10.1699250021668; Sun, 05 Nov 2023 21:53:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1699250021; cv=none; d=google.com; s=arc-20160816; b=IRszMmNgzR+gzP6PIdNMsvYNdSlAmyi7vqs4cVbTqJB2pzyBB0o8GN3yH++jWKK3jn z9gK7Tuyeq1Xys7hrsvkHekkZ7QmAGhn+56qgVwYvned68y1UKXKNSA+d0SrCbby914k bKsKd912AAJWBR9R4XJa4pPdiP2yrvurA0xbasEk8KjMQAwo/aSElMJE9Af1I4a26yXM N2EDljXk98R3TPRt8X/POEpvfkdmBipoxbvAV47Q1vxjyP4rCAWqXoPc1HRnZcbwDMh3 nCMo4xmDVeIOvDMRDxLasovqi0TWik+CPJEI+mlBmH1npn6y1VuG7hk+gl2uBXL9qa/p b6fQ== 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=qyfG2H4fY6cgVYlRhSpqTTCfbRSDRE63a0ysf6Rg4Cg=; fh=pZpLv3JBu7ewThcXtBU3x3uGUeTqUHmHtpmV6AvLzGM=; b=GU+y9hbt5s0CvoZK+6oVcqfR6+XTwE1KaArSkgm5kyJ2BKGHILKW043ObiCavOGzde qzVy7NWyN4wD2dkfl5nwOwundMTvbmhHNZrRoWTqwMGelAtvnUOWlgdPHdWTZH0D9wXK LBUCs530fvQVDrhx8IDy+y8hDS0W9C6oiabqqDRTVxhkVgYq3e6ZH0xl9be9kKzHmYjl 4GEQK3gdRd9g3ekZSlnAzBD0QDrRyHfbBRKx1tUBbzTKVJ+WAZGIxptt+Ku5DyUsS8nx GsiwiWhn47zPdprLYwtG0Bx4dxZ4jtoHHWlqh77Kf3jno+pqH7tvP/CIoaAY3jk/UHAW qLAg== 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:8 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Return-Path: Received: from fry.vger.email (fry.vger.email. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id a1-20020a656041000000b005b90af1943asi7749661pgp.807.2023.11.05.21.53.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 05 Nov 2023 21:53:41 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) client-ip=2620:137:e000::3:8; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::3:8 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 fry.vger.email (Postfix) with ESMTP id 5A47B80A18EF; Sun, 5 Nov 2023 21:53:39 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230374AbjKFFxZ convert rfc822-to-8bit (ORCPT + 55 others); Mon, 6 Nov 2023 00:53:25 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59514 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230373AbjKFFxY (ORCPT ); Mon, 6 Nov 2023 00:53:24 -0500 Received: from rtits2.realtek.com.tw (rtits2.realtek.com [211.75.126.72]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 24598100 for ; Sun, 5 Nov 2023 21:53:17 -0800 (PST) X-SpamFilter-By: ArmorX SpamTrap 5.78 with qID 3A65r8fT53298845, 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.95/5.92) with ESMTPS id 3A65r8fT53298845 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 6 Nov 2023 13:53:08 +0800 Received: from RTEXMBS06.realtek.com.tw (172.21.6.99) 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, 6 Nov 2023 13:53:08 +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; Mon, 6 Nov 2023 13:53:08 +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; Mon, 6 Nov 2023 13:53:05 +0800 From: Ping-Ke Shih To: Dmitry Antipov CC: Kalle Valo , "linux-wireless@vger.kernel.org" Subject: RE: [PATCH] wifi: rtw88: simplify __rtw_tx_work() Thread-Topic: [PATCH] wifi: rtw88: simplify __rtw_tx_work() Thread-Index: AQHaDYOY8ggw1Bu24UimZe1KA3wyCbBsz+bQ Date: Mon, 6 Nov 2023 05:53:05 +0000 Message-ID: <6c89d3c4079b41a4958950d8f1575caa@realtek.com> References: <20231102115606.69838-1-dmantipov@yandex.ru> In-Reply-To: <20231102115606.69838-1-dmantipov@yandex.ru> Accept-Language: en-US, zh-TW Content-Language: zh-TW x-originating-ip: [172.21.69.94] x-kse-serverinfo: RTEXMBS06.realtek.com.tw, 9 x-kse-antivirus-attachment-filter-interceptor-info: license violation Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT 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.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email 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 (fry.vger.email [0.0.0.0]); Sun, 05 Nov 2023 21:53:39 -0800 (PST) > -----Original Message----- > From: Dmitry Antipov > Sent: Thursday, November 2, 2023 7:56 PM > To: Ping-Ke Shih > Cc: Kalle Valo ; linux-wireless@vger.kernel.org; Dmitry Antipov > Subject: [PATCH] wifi: rtw88: simplify __rtw_tx_work() > > Since 'ieee80211_txq_get_depth()' allows NULL for 2nd and > 3rd arguments, simplify '__rtw_tx_work()' by dropping unused > 'byte_cnt'. Compile tested only. > > Signed-off-by: Dmitry Antipov Acked-by: Ping-Ke Shih