Received: by 2002:a05:7412:3784:b0:e2:908c:2ebd with SMTP id jk4csp1994353rdb; Tue, 3 Oct 2023 07:21:54 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGiHLA5hYeiXhHFO0fedlnjBGL7bgVxFZyrt8V0Jb3uqHuiC0JPmkLnYpmUKb0kJkAtyWdb X-Received: by 2002:a05:6a20:54a7:b0:133:be9d:a9e6 with SMTP id i39-20020a056a2054a700b00133be9da9e6mr18177051pzk.17.1696342914601; Tue, 03 Oct 2023 07:21:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696342914; cv=none; d=google.com; s=arc-20160816; b=q2/w08sEg6rpEVeCWl3miQp87xqjirLPmwQPb1HM730WVAf0m9EHNg7Xw75sIGslid sgX5bZRvLoFJuk47FXA5nmSVjPwg/WLAAbvjKPeSiQtK2glNOnWcJnvwuT/DHgxxK+w8 kSMZiPsiMN2DsEnYqfEOVfrsK9SiSMaNxppnw0W1xi1PV+9rJXL96hu0i+qBFF0k2w7Y scyB4OXZncL72UbkBXkojdAyom3aeJiSCBouPvYddr/HRH5PGr2EPPOGpVWqdTYjByN/ 7JF4Rr2IcOoPhrK2qIRQG/xjQol9HgeQtohCk2YBJd4j1fYlqk/KfcQ5pZ4j8jDtxi94 sFcg== 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=w57m1vPBYPC/Xu8pL2W0GAgbiZ5g4Q/IqYMvU8KyI4k=; fh=v1t45t4BehDZYWp500pllAfACnMvsf/mLIfUinQpkEU=; b=ogEHsg+JX4og5dEYejaDET+sF/JhkvtEXV8dtykSE4Isrl8Cn+C0vESOIUlPri9jGU 8eY/ZCg9QW7anTeZG5BxYDIn2HVTyOLFSm3f4Q5mEXsdqQq/D7YkI6muBnZQHIKFFwIF c17qpWP3sZY+bYQ6bKry0VZX5fghr7yztwLeMwZVD7TZqWrmUdzKflg1yV78EBRSyzfo mKt0RpnX4+4lIA1qCKYLQHPV9Dl5NQHCTsmZG6w+XGZG7FRgD+1Eq0IH6qwc8bpU6GkE 0mSgQRE0FHSQubzbupM1JA93B3Y6x+iH3n86mobq5S8G3m5Y4sip/zUGyVyS9fl/d893 +SBQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=TaA+86Q2; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.34 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 howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id m65-20020a633f44000000b00573f867019fsi1485306pga.443.2023.10.03.07.21.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Oct 2023 07:21:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=TaA+86Q2; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.34 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 howler.vger.email (Postfix) with ESMTP id 9527D82A39BA; Tue, 3 Oct 2023 07:21:53 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239729AbjJCOVn (ORCPT + 53 others); Tue, 3 Oct 2023 10:21:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39900 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239596AbjJCOVl (ORCPT ); Tue, 3 Oct 2023 10:21:41 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0EAB2BB for ; Tue, 3 Oct 2023 07:21:38 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id EDE83C433CA; Tue, 3 Oct 2023 14:21:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1696342897; bh=2AUmMWH+IOOl9AtUReDwtvY3zALHVI8J7LBLFa+FHMI=; h=Subject:From:In-Reply-To:References:To:Cc:Date:From; b=TaA+86Q2sz3C04lNWcZ0r5SFYJWnPH1+wtHyi5SzLn+Q5BYMkD2lw75Okfwd1jY7L Gf4so6nSPh6WHUUrjt6lzeOvFsAXq0ak2B8mSaXAbE4kTiOEhzXCt/y3cp4k9oNuf+ QjzcnF78wPueDNZG5PEKM/fKGoUvXtjRPaRCcGbZZN2LyCs1Nd8J6vB24eXGG05cAI N6EfBaMrWMbDVYOSsq6bXypxll1JRp/tUHSvKGNh38gZgpmsm6tXdAPHF7W+jm85XA nWbccjgh7zZ5xi7jDRkkIZ9/CxCjTZaGrSn2rfOSCvIiRCpJs0spsDrQ07rHRXaVoN nJtk/pLhwBx4Q== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [PATCH] wifi: ath10k: simplify ath10k_peer_create() From: Kalle Valo In-Reply-To: <20230704180617.84948-1-dmantipov@yandex.ru> References: <20230704180617.84948-1-dmantipov@yandex.ru> To: Dmitry Antipov Cc: 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: <169634289494.61956.18320291345031204017.kvalo@kernel.org> Date: Tue, 3 Oct 2023 14:21:36 +0000 (UTC) X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, 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 (howler.vger.email [0.0.0.0]); Tue, 03 Oct 2023 07:21:53 -0700 (PDT) Dmitry Antipov wrote: > Use convenient 'list_count_nodes()' in 'ath10k_peer_create()', > thus making the latter a bit smaller and simpler. > > Signed-off-by: Dmitry Antipov > Signed-off-by: Kalle Valo Patch applied to ath-next branch of ath.git, thanks. 322a487c53f8 wifi: ath10k: simplify ath10k_peer_create() -- https://patchwork.kernel.org/project/linux-wireless/patch/20230704180617.84948-1-dmantipov@yandex.ru/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches