Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp1362534pxj; Fri, 18 Jun 2021 05:40:27 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyqUE3HlyltaNXilYHr8LDOd63DI9+O1j9WrKPKW8eTzS/hvYZgwc1TmnSFZJ2iZYAx73Iz X-Received: by 2002:a17:907:10d8:: with SMTP id rv24mr10685477ejb.542.1624020027536; Fri, 18 Jun 2021 05:40:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624020027; cv=none; d=google.com; s=arc-20160816; b=mH0zgCaThE8zMrWVMH/8ZUE1Ly9orPnuCAjnWr0Sw22/6Mxf0Sq9qgQmI++UBeRP+5 Y3N4Kl0gOaY1Y0ibRD3lMnHQ5/CTLWvsz4vLGMHvmz0HIepH6gucghPyNLxpecavHMaa AOhW2y0jR77iXlDnBPIghzixsH9VEIzD0Fjhoha2Q4hBNx88xaYGxPx1a1zLmQOkQY6N FwpAOTj4TI2LOjJJZ+pZUdIwZ+3zf+o2WTuRXFuFiFCeX6pxfA1ttFR+EJleNK7jljKB TJ9x5dxEXXtCid2u9iZuB5mN/XCGbsgnh6c2mMKaBfNfrdEvK4Lr80FLucZg+/p3niDZ q3Rw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:subject:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:cc:to:from; bh=sG7brAcPjpMbqH8fSaFiN7gfKbW7KUypTXsifxLT8Uw=; b=detMqWb2SVX77uZnN8c4dTLpStAF3vlLeaoKhzvUqD3HaVyrW11CGnf6kwcL3yYzjU y6pr7mZ8Axa32dx2+PVGt8wkpDSlOXValSsLj7kbDvffe/UwJ9xMRi00R8PjzUtAPMkN VVCiV1NW7KyaVFHNsx2ZCmljYfj+/2eeBngw3TFLuDT+lp7MVv1qqK7bg/QIzW9wyLlR oXKS3IcnW12zKpn7mdwwq86t8t2dmJvUqdc5ZqPjIAvuj0YZIbQM//87rFrw99njvS44 hpHXnZQRoX2vD5F5xj1ywKSUCJmlQopf8zqwJq0mmLedjNy0Gx1cYL4N5uqpAe7Rt0kf fiyg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j15si8606935edw.0.2021.06.18.05.40.03; Fri, 18 Jun 2021 05:40:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232250AbhFRLIu (ORCPT + 99 others); Fri, 18 Jun 2021 07:08:50 -0400 Received: from paleale.coelho.fi ([176.9.41.70]:48284 "EHLO farmhouse.coelho.fi" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S231810AbhFRLIu (ORCPT ); Fri, 18 Jun 2021 07:08:50 -0400 Received: from 91-156-6-193.elisa-laajakaista.fi ([91.156.6.193] helo=kveik.lan) by farmhouse.coelho.fi with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94) (envelope-from ) id 1luBx8-001YXx-8q; Fri, 18 Jun 2021 13:42:23 +0300 From: Luca Coelho To: johannes@sipsolutions.net Cc: luca@coelho.fi, linux-wireless@vger.kernel.org Date: Fri, 18 Jun 2021 13:41:51 +0300 Message-Id: X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210618104156.747775-1-luca@coelho.fi> References: <20210618104156.747775-1-luca@coelho.fi> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Checker-Version: SpamAssassin 3.4.5-pre1 (2020-06-20) on farmhouse.coelho.fi X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00, TVD_RCVD_IP autolearn=ham autolearn_force=no version=3.4.5-pre1 Subject: [PATCH 26/31] cfg80211: remove ieee80211_get_he_sta_cap() Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org From: Johannes Berg This function turned out to be too easy to misuse since it doesn't consider the interface type. Remove it now that we no longer use it in mac80211. Signed-off-by: Johannes Berg Signed-off-by: Luca Coelho --- include/net/cfg80211.h | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h index 5a0c4fd2ec5a..6c851fa312ac 100644 --- a/include/net/cfg80211.h +++ b/include/net/cfg80211.h @@ -533,18 +533,6 @@ ieee80211_get_he_iftype_cap(const struct ieee80211_supported_band *sband, return NULL; } -/** - * ieee80211_get_he_sta_cap - return HE capabilities for an sband's STA - * @sband: the sband to search for the STA on - * - * Return: pointer to the struct ieee80211_sta_he_cap, or NULL is none found - */ -static inline const struct ieee80211_sta_he_cap * -ieee80211_get_he_sta_cap(const struct ieee80211_supported_band *sband) -{ - return ieee80211_get_he_iftype_cap(sband, NL80211_IFTYPE_STATION); -} - /** * ieee80211_get_he_6ghz_capa - return HE 6 GHz capabilities * @sband: the sband to search for the STA on -- 2.32.0