Received: by 2002:a05:7412:e79e:b0:f3:1519:9f41 with SMTP id o30csp100895rdd; Wed, 22 Nov 2023 10:23:03 -0800 (PST) X-Google-Smtp-Source: AGHT+IFHhrhZ2xI714eV85xGlVUlMObIhNNhOTNe7QqWVsjLOs1l48buM67TQqaCx4nIDHCKZPFn X-Received: by 2002:a05:6a21:a594:b0:18b:4a28:6e21 with SMTP id gd20-20020a056a21a59400b0018b4a286e21mr416480pzc.26.1700677382890; Wed, 22 Nov 2023 10:23:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700677382; cv=none; d=google.com; s=arc-20160816; b=Or0vp57X76Wvdip5FYDCwYJp2YIjX5bq8lrmeYf9apAQ0VVFnWviC6LE+vSYZEZ9g5 YGBawZZ8XtjUoeTM3WCabJbrpm/cWFP2YXU2mTaURYMApzJeXt2H2ZU7nFkzJWoZTy1H 7D93swR4yRneznBoc9CK2Vjs98l7LHFm0AY7oWXivwXMSTncfLD8w/UvGsfg+KX1wgto BXObzrBVqpdeKqULSJX6TsRoJ8b/kMCTHEPkngSd+xQ6VZyPT6Ynh2zDQSjyLfdPYU4d NtYLrV3WCmQUJmh/btlPhX/AyJureKjV6bdFN2q1MkQ34KWmC2GFPqrZrAgV/FRyR12P BQ7g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:date:message-id:user-agent:cc:to:references :in-reply-to:from:subject:content-transfer-encoding:mime-version :dkim-signature; bh=yKaT60Xa/Em1ch8EaYhpJ38FvT6qoN0fMsU1XtClIXE=; fh=tjps/0mnZfJojZz2YY11ZLXRt7RkKsT/lR8da2jHxqQ=; b=WTP/goXDVtz5GYNGNaUnHf6q7AAFqbmdtgeEetzZgOf3ozBDeBMNddL6we5nvryTqg 9KTIe1mAVxSGKvrISRpJ7qpaTu/fxuNt2emyd3jTPBm72hWXV2g9S5SQgB/baalHl1NO +st3N5fK9eIVJa6SqDl3UJpZ0xPMOTVkh78LfaWWoNtLGF41JJseilc3PoC/n9F0u/MC +iERrb7JKNu1AC9XEXP6AtFQw0N8415W44qoPnxITdMhFQYeQ6gH8fi9YG09YBkmVav5 Xywurd2sdKe59XKTc2Tsj3wUTqRQFL/YK7V0joLwXf2epTm3Z1jkLvnphzC3TJk1dL+5 uU6A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=CQgVo1J1; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id m66-20020a632645000000b005bd3ca6c398si13580090pgm.736.2023.11.22.10.23.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Nov 2023 10:23:02 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=CQgVo1J1; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id D56BE8340F6E; Wed, 22 Nov 2023 10:22:56 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235134AbjKVSW6 (ORCPT + 53 others); Wed, 22 Nov 2023 13:22:58 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44496 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231478AbjKVSW4 (ORCPT ); Wed, 22 Nov 2023 13:22:56 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A1C2D101 for ; Wed, 22 Nov 2023 10:22:53 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 17796C433C8; Wed, 22 Nov 2023 18:22:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1700677373; bh=BN7rd/tFqCbZXrOesCyWAkSFr6Mf/2JkzS1pjZzr/EI=; h=Subject:From:In-Reply-To:References:To:Cc:Date:From; b=CQgVo1J1VdjQa0NfgheujtzrBa00ttQsAMm8T2MeXE74ANXCBsS9vAJbdwSsbiFYq ZHXjBlZlaIQkyum9GA6jtkC0R8Q0eSSX/DwGFQyPlO6oJZgPriMcCNJiBS4yG6Geze uF7Vng7pn+bDHMLBsZNPWAHhO8fHwOtOGDyrE84D5/4ES2AcpvduuIECgmMz6buc+g bor25aDTNti3diNxO+qzyrQteX4mvYuXlVyTDOyzd4t5Ratwg1yQFl+gj86QXzjI9L 3U15gQt1tx8v/VID+ERyMRyVW7ioUf3U+Rhq5OrbRVkyT/48uFVq7c72m5nUVTmnKD mZ2X0aXq9TFUg== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [PATCH] wifi: ath10k: simplify __ath10k_htt_tx_txq_recalc() From: Kalle Valo In-Reply-To: <20231102115459.69791-1-dmantipov@yandex.ru> References: <20231102115459.69791-1-dmantipov@yandex.ru> To: Dmitry Antipov Cc: Jeff Johnson , ath10k@lists.infradead.org, linux-wireless@vger.kernel.org, Dmitry Antipov User-Agent: pwcli/0.1.1-git (https://github.com/kvalo/pwcli/) Python/3.11.2 Message-ID: <170067737021.158537.658295083023097640.kvalo@kernel.org> Date: Wed, 22 Nov 2023 18:22:51 +0000 (UTC) X-Spam-Status: No, score=-1.3 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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]); Wed, 22 Nov 2023 10:22:57 -0800 (PST) Dmitry Antipov wrote: > Since 'ieee80211_txq_get_depth()' allows NULL for 2nd and > 3rd arguments, simplify '__ath10k_htt_tx_txq_recalc()' by > dropping unused 'frame_cnt'. Compile tested only. > > Signed-off-by: Dmitry Antipov > Acked-by: Jeff Johnson > Signed-off-by: Kalle Valo Patch applied to ath-next branch of ath.git, thanks. 08500f6eaa91 wifi: ath10k: simplify __ath10k_htt_tx_txq_recalc() -- https://patchwork.kernel.org/project/linux-wireless/patch/20231102115459.69791-1-dmantipov@yandex.ru/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches