Received: by 2002:a05:7412:8521:b0:e2:908c:2ebd with SMTP id t33csp2319124rdf; Mon, 6 Nov 2023 10:26:47 -0800 (PST) X-Google-Smtp-Source: AGHT+IE+JJoAx+p8kV/QZ+zOu2yBCQi74YotbngXxQMUAceCOA1lAHr82B2aLlhbBWte2CESq+u4 X-Received: by 2002:a05:6a00:1250:b0:6c4:22be:c5ad with SMTP id u16-20020a056a00125000b006c422bec5admr1292929pfi.31.1699295206628; Mon, 06 Nov 2023 10:26:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1699295206; cv=none; d=google.com; s=arc-20160816; b=Y+tsUmOQCEUhsNGsoTNG0EGl8+LozLH+c+E+HXCttigMuGrxJ6s3rl0Wkztxh7dnZF ck9lQJbTFlw2dV9D8x6TnWFAtLp+wXFGiI14J0qDj2HC5w5ufbPHe+ugouugQHMJ/Psb uh6C91adcxwgxEufiBxE6MKuQ8q0OpuhFg2APE2sE/lJQBqNJ5xrM/HrSey6D1Bhc2Z4 Cx/y38h5tii3uN1n3Y25Loy0qYV1eS/DbCzyS1ysr8uOhc5iXyu+9asgY1gSzpkYsuSf bX/1D7OOYFjoWcsmdKuOkcGljri4OYYPqQ/46W8sIw5UsssRsQoXRyngbWcsJggpMJgd tTQg== 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=zYW/lRX/4ACrNnU4krkqany9ism4ns/4E4HytwmquNo=; fh=uCFY6b9B5eq2rRlf8pS4TfIu4NTbI8oEOjzBnGL2Mns=; b=VcNFuhhrQ89qVzgmUu6spQ/x9TXUfvYNSii39lgzar6uCmz+wVlvmDvt/JjZbiR/Ww lq/MXzitzMR3nLdrHm+nvHCm6fdRUtBwfLbbHb8eRLfUWSiQ4YcVbVcaoALVeHKpnxyI 6uwYn84TSKFpPdRp9nK0Nzqfl+KRLo0U5SDrfLzDwAqj1NtQ+i9wnIJCE+MDRCH4GjxW nRG6m3K8U5PO5DUFiqvA6xB6WJkzMiads+L4uwKnrV0D8nx+l12A6huXmO4x5vhkzN0I 5sdoI5tsySMFOaLLB7BMpThVD2RvLQgNefCzDtpx+t1+/8QP5tUx3F0lMxcnKr6rzC13 7kXw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=O8+2Ynp2; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from fry.vger.email (fry.vger.email. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id cf8-20020a056a02084800b00577d99bd045si253788pgb.843.2023.11.06.10.26.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 Nov 2023 10:26:46 -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; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=O8+2Ynp2; 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; 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 fry.vger.email (Postfix) with ESMTP id 8631380C3456; Mon, 6 Nov 2023 10:26:20 -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 S232353AbjKFS0S (ORCPT + 56 others); Mon, 6 Nov 2023 13:26:18 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58450 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231800AbjKFS0R (ORCPT ); Mon, 6 Nov 2023 13:26:17 -0500 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CE7DA1BF; Mon, 6 Nov 2023 10:26:14 -0800 (PST) Received: from pps.filterd (m0279868.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 3A6EO7jC006996; Mon, 6 Nov 2023 18:26:05 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=zYW/lRX/4ACrNnU4krkqany9ism4ns/4E4HytwmquNo=; b=O8+2Ynp2aYXF5zCldMjakKImAS/XJDDpab4aZIqfvuacTWH4WylJstN5qt6E8VMkcS7c MRQ+0ikrw+uTXMQ9R1JvsV6pfipqfWwiLo3FNfhQ/VkRycHqMsD8y8bKxBjQHqzElYfv lMJ/YyRIYut16Zp2oYxbOeX6jsFCuDzEHatAd5VAGgMtXtM8R9lKH1kNCzWGJ6PiBL3U jPNwqjXIcYj4VniU2CQLFWBM9ZQOUJwAT/V5faYRpTOI19mctT66ZTwD0MkT7IlP9y6i m5xb+Fa3JNJ/xIeTMGN1SG63rSl4XFX6CgC9FQQjxutxIcGy87NvGohX5AUcs6vhxPGb cw== Received: from nalasppmta05.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3u71br8q1j-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 NALASPPMTA05.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 3A6IQ4Ou029707 (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 Date: Mon, 6 Nov 2023 10:26:03 -0800 Subject: [PATCH 1/4] wifi: ath11k: 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-1-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 CC: , , , , Jeff Johnson 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: VWI64y0zi4879RfKYqigojPKGNhXCpMU X-Proofpoint-GUID: VWI64y0zi4879RfKYqigojPKGNhXCpMU 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_14,2023-11-02_03,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 mlxscore=0 malwarescore=0 spamscore=0 adultscore=0 suspectscore=0 bulkscore=0 lowpriorityscore=0 mlxlogscore=656 phishscore=0 impostorscore=0 priorityscore=1501 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 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]); Mon, 06 Nov 2023 10:26:20 -0800 (PST) Currently both struct ath11k_pdev_wmi and struct ath11k_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 ath11k; these are obsolete remnants inherited from ath10k. So remove them. Compile tested only. Signed-off-by: Jeff Johnson --- drivers/net/wireless/ath/ath11k/wmi.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/net/wireless/ath/ath11k/wmi.h b/drivers/net/wireless/ath/ath11k/wmi.h index 100bb816b592..42e4234be69b 100644 --- a/drivers/net/wireless/ath/ath11k/wmi.h +++ b/drivers/net/wireless/ath/ath11k/wmi.h @@ -2580,7 +2580,6 @@ struct wmi_service_available_event { struct ath11k_pdev_wmi { struct ath11k_wmi_base *wmi_ab; enum ath11k_htc_ep_id eid; - const struct wmi_peer_flags_map *peer_flags; u32 rx_decap_mode; wait_queue_head_t tx_ce_desc_wq; }; @@ -5754,7 +5753,6 @@ struct ath11k_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 wmi_host_mem_chunk mem_chunks[WMI_MAX_MEM_REQS]; -- 2.42.0