Message ID | 20231106-ath-peer-flags-v1-2-781e83b7e8e8@quicinc.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:8f47:0:b0:403:3b70:6f57 with SMTP id j7csp2847107vqu; Mon, 6 Nov 2023 10:27:04 -0800 (PST) X-Google-Smtp-Source: AGHT+IH2LvvCQXPOOae+53HbIvbOzwQJ7Wm9EU3fv7lA0Msg66bRr9pTrFyHg1UvuzCKWNL2oPLw X-Received: by 2002:a05:6870:c14b:b0:1f0:15e3:1173 with SMTP id g11-20020a056870c14b00b001f015e31173mr608146oad.2.1699295223738; Mon, 06 Nov 2023 10:27:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1699295223; cv=none; d=google.com; s=arc-20160816; b=bCdXpFAvVF0vrsrAxTbA2RMWvLhYhMUHZvy1U3YFi+gnynTSXDB3ZHn5o7MJgm8rAj SJjCjG53K8YtjD6lYcHRD0aDy06dagEHjusLtOh6ryWwdH2Uaw6e6+jhcucqRKMjTj29 j5PxVdCrmBAA+vvNH0u5IBBeq+OWElUiro1/wxL6CPGWpJ090KAnFw82gnqXmZoE67cJ HpGllSaQ+dKlvHc49+GrLi7oL0AAsMPqqrpw8A3zIuk0CqS2s6ahBUGZr2xdnlwoqG7L mn4e0iMeFwnin5JUrldbLxiTqwFgwYZp2O6m8Hquiy71ePwlpZfvEbk6a9Rb74swLkSH 0Erg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=XVadJ5FtOZUj7BdXludjBrV8IYXamHKfAgfYVk8+ESo=; fh=uCFY6b9B5eq2rRlf8pS4TfIu4NTbI8oEOjzBnGL2Mns=; b=fN6gfoyIn0kXzFHN2FqRuQkcgHH/iwuABF+xBZ1w8hqxiYR68KmvCiBOtAvKv+z5HK 5nJcUgfUNDnPZ9W2x+9Hy+bpWVqOLLH4SQ8k2hoPwsRuyA7YXoYBZ/s7d64wgKJzSM3k 5xqMsy/JKF6vk19J65vG62GIlXDexONB1u5g7aPYHnOZ44QYKXqLR9OqInSENpvtMQu7 G/CXbKSPvvChMO9h22C9TVSbp95l6NvJTphRjOzgTxhgNm+y2soHc23sw+yyKf+do4om SyUeo9kL7LpFt39D5wPeLSe9P83bpHXrUZ6W4nWmSDjWXrg/yjI8YksD04VEaE2BVbxZ fvjw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=RcOYpPXN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id m8-20020a656a08000000b005bd3cf5fd1esi273940pgu.389.2023.11.06.10.27.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 Nov 2023 10:27:03 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=RcOYpPXN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 8001B8053663; Mon, 6 Nov 2023 10:26:53 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232580AbjKFS0Y (ORCPT <rfc822;lhua1029@gmail.com> + 34 others); Mon, 6 Nov 2023 13:26:24 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48102 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232343AbjKFS0S (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 6 Nov 2023 13:26:18 -0500 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 00E6994; Mon, 6 Nov 2023 10:26:15 -0800 (PST) Received: from pps.filterd (m0279873.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 3A6HDGUP015545; Mon, 6 Nov 2023 18:26:06 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=from : date : subject : mime-version : content-type : content-transfer-encoding : message-id : references : in-reply-to : to : cc; s=qcppdkim1; bh=XVadJ5FtOZUj7BdXludjBrV8IYXamHKfAgfYVk8+ESo=; b=RcOYpPXNOUbjxCpoN1XsPRelvY2mS++TOOlILDelp6/w0nsNBZ9raaACMaP5b0/Ofypt jGN4t3ZDhA5UetlsJinKWsnIArrjAGTC6s+CEcird2457GMSM+ybuubXIREADe2lKSHb bSDEyNU1V69A2DTkOgSD4ik1/wBlzHXjrFDYAICVFbeLt2u8/FL+2XIEslHamnHxFN2L Bu9PidtbeaTLj4BV/MZvBzPx5lvRi9At8NTBMRGiUxCR1XXWEL67HgHF9jlON9HiiH67 aHUzvY5y/UvijMb2EeWiij2Mhz5ZatzndhCvLDhIwT343+57tQNUv81G4pLeTAObYpip pA== Received: from nalasppmta03.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3u72avrjbq-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 06 Nov 2023 18:26:05 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA03.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 3A6IQ4I0011305 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 6 Nov 2023 18:26:04 GMT Received: from hu-jjohnson-lv.qualcomm.com (10.49.16.6) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.39; Mon, 6 Nov 2023 10:26:04 -0800 From: Jeff Johnson <quic_jjohnson@quicinc.com> Date: Mon, 6 Nov 2023 10:26:04 -0800 Subject: [PATCH 2/4] wifi: ath12k: Remove obsolete struct wmi_peer_flags_map *peer_flags MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-ID: <20231106-ath-peer-flags-v1-2-781e83b7e8e8@quicinc.com> References: <20231106-ath-peer-flags-v1-0-781e83b7e8e8@quicinc.com> In-Reply-To: <20231106-ath-peer-flags-v1-0-781e83b7e8e8@quicinc.com> To: Kalle Valo <kvalo@kernel.org> CC: <ath11k@lists.infradead.org>, <linux-wireless@vger.kernel.org>, <linux-kernel@vger.kernel.org>, <ath12k@lists.infradead.org>, Jeff Johnson <quic_jjohnson@quicinc.com> X-Mailer: b4 0.12.3 X-Originating-IP: [10.49.16.6] X-ClientProxiedBy: nalasex01c.na.qualcomm.com (10.47.97.35) To nalasex01a.na.qualcomm.com (10.47.209.196) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: WOAlPVjTgU3kIAs4mf9Hu0pzDErDITZI X-Proofpoint-GUID: WOAlPVjTgU3kIAs4mf9Hu0pzDErDITZI X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.987,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-11-06_13,2023-11-02_03,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxscore=0 malwarescore=0 mlxlogscore=707 impostorscore=0 phishscore=0 bulkscore=0 adultscore=0 priorityscore=1501 clxscore=1015 spamscore=0 suspectscore=0 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2310240000 definitions=main-2311060149 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,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 lipwig.vger.email Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Mon, 06 Nov 2023 10:26:54 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1781840188408634990 X-GMAIL-MSGID: 1781840188408634990 |
Series |
wifi: ath: Cleanup WMI peer flags
|
|
Commit Message
Jeff Johnson
Nov. 6, 2023, 6:26 p.m. UTC
Currently both struct ath12k_wmi_pdev and struct ath12k_wmi_base
define:
const struct wmi_peer_flags_map *peer_flags;
But that member is not used, and in fact, struct wmi_peer_flags_map
is not defined within ath12k; these are obsolete remnants inherited
from ath11k. So remove them.
Compile tested only.
Signed-off-by: Jeff Johnson <quic_jjohnson@quicinc.com>
---
drivers/net/wireless/ath/ath12k/wmi.h | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/net/wireless/ath/ath12k/wmi.h b/drivers/net/wireless/ath/ath12k/wmi.h index 629373d67421..7d295330e6f1 100644 --- a/drivers/net/wireless/ath/ath12k/wmi.h +++ b/drivers/net/wireless/ath/ath12k/wmi.h @@ -4770,7 +4770,6 @@ struct wmi_probe_tmpl_cmd { struct ath12k_wmi_pdev { struct ath12k_wmi_base *wmi_ab; enum ath12k_htc_ep_id eid; - const struct wmi_peer_flags_map *peer_flags; u32 rx_decap_mode; }; @@ -4784,7 +4783,6 @@ struct ath12k_wmi_base { struct completion unified_ready; DECLARE_BITMAP(svc_map, WMI_MAX_EXT2_SERVICE); wait_queue_head_t tx_credits_wq; - const struct wmi_peer_flags_map *peer_flags; u32 num_mem_chunks; u32 rx_decap_mode; struct ath12k_wmi_host_mem_chunk_arg mem_chunks[WMI_MAX_MEM_REQS];