From patchwork Fri Oct 13 14:24:07 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jeff Johnson X-Patchwork-Id: 15339 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:2908:b0:403:3b70:6f57 with SMTP id ib8csp1931041vqb; Fri, 13 Oct 2023 07:25:05 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFuIPmALvAUcA7n7j2cgd5cOXM7fMj9SiQGcA8/Qt7gvHmnO5dPEKVcJHY234j/ZTBkSSDL X-Received: by 2002:a92:d3cb:0:b0:345:e438:7381 with SMTP id c11-20020a92d3cb000000b00345e4387381mr26298644ilh.2.1697207104709; Fri, 13 Oct 2023 07:25:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697207104; cv=none; d=google.com; s=arc-20160816; b=bUtjB2CDinsoEj/klOyBIN+KWRPJLJ8YDvr/Bim4iJFi94jN67VdoSHhPj7y2MRP9b 1DPRhtznOJ1cPXZs6RfKv/3JGbuBTrvSztTsrGcbY4qKIaP6/TJJYlIeMopnUVAyGQog Yzcflm/uURCsJvdb/HaLZktZbMH6MmLKiGKwhV4KCARAoKdInwEQqtmAYj/rbrfQhru1 +EHbIGlO5T9ViuVVgxVsHOJDKYEm80wmD06UzWpcVM9t2HKAY3xKP6C2mSelIXAy+y95 +tgNJrsOP5cEETyHDB7KFAL8xcVQ6tXhfiEdX4LWKbmhU8Ina+U+f2POq/o22QB1AIQl sZYg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:content-transfer-encoding:mime-version :message-id:date:subject:from:dkim-signature; bh=L8NexJFtiBE32UC3WUV4sNP/C/3qdQ5NgLrpJU2Wo7E=; fh=uCFY6b9B5eq2rRlf8pS4TfIu4NTbI8oEOjzBnGL2Mns=; b=D2NdLvePTlyUnK/whYWu3TCePxIo6Mp8d3/UDggBmCCoH4c7V9Z6rXwC5yH4Oc5pLa btTGk6KG7imG2CenVfPs7hYQVWqbJBgX2/IssL9hC/lnH4/CsKUzeEUjQLFqd7BKoUVP Rv80L+gjY6WKBhFGZf8V2DU5GsVFed6OOR934XYfbLMtmOIFOlF9UWv8xAGd4KM3gXHA /lBUZdk4042oHg4K9wnFPYDXcioHHNzvvWr9rP4HW8lt5rLYYKeg9MF+bWRl13Bn7mgg zr/bgIkgXcDz1FE54pouvFVeioIINERKd1w1bnsSjk7n7Uvxvw23ofOX6OkRB6HNDarE QqwA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=Z21KcenV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 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. [23.128.96.33]) by mx.google.com with ESMTPS id cb16-20020a056a02071000b005af44ed3148si163282pgb.367.2023.10.13.07.25.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Oct 2023 07:25:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=Z21KcenV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 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 C5ED2829F985; Fri, 13 Oct 2023 07:25:02 -0700 (PDT) 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 S232164AbjJMOYn (ORCPT + 19 others); Fri, 13 Oct 2023 10:24:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50742 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232125AbjJMOYl (ORCPT ); Fri, 13 Oct 2023 10:24:41 -0400 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A4F68CE; Fri, 13 Oct 2023 07:24:40 -0700 (PDT) Received: from pps.filterd (m0279869.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 39DAuaAC013450; Fri, 13 Oct 2023 14:24:11 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=from : subject : date : message-id : mime-version : content-type : content-transfer-encoding : to : cc; s=qcppdkim1; bh=L8NexJFtiBE32UC3WUV4sNP/C/3qdQ5NgLrpJU2Wo7E=; b=Z21KcenVdRDEmv2SFtWN27J/c66AzKpLLsoSRcqXTzK90JLiM5Jn214l96h9FUMQ500x uJfPK6wFAH6tLrhQq+c3lv8U9xHB/fNKbqtvrMQd/B8VFMRVUhlECX63x0VDo6Rw7NVb HFtx58uhrKQdp42GX6o36VCbRyn++0Hwe8KLxA0U1NyyfOg6icawExZbkvqs4++vN+9p vsSvT07sxT6GbF8HnkgVifvLUErrGmaE8DVxTwp44FVGIHlpFYqFR9p6GNOYpxfn+8ei 27fHTXSxwYoOD+oopNerBrNDVR03GgCQgLWLvg1zg6Ryn+4MbFH8uOFRmR86sLYswOjf Jg== Received: from nalasppmta01.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3tq2xqgk7g-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 13 Oct 2023 14:24:11 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA01.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 39DEO9JB008645 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 13 Oct 2023 14:24:09 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.36; Fri, 13 Oct 2023 07:24:09 -0700 From: Jeff Johnson Subject: [PATCH 0/2] wifi: ath: Remove ath*_base::bd_api Date: Fri, 13 Oct 2023 07:24:07 -0700 Message-ID: <20231013-ath11k_bd_api-v1-0-3fefe4629706@quicinc.com> MIME-Version: 1.0 X-B4-Tracking: v=1; b=H4sIAAdTKWUC/3XMQQ6CMBCF4auQWVvTAYvgynsYQtqh2omRYotEQ 3p3K3uX/0vet0K0gW2EU7FCsAtH9mMO3BVATo83K3jIDaUsK5SIQs8O8d6bodcTC90S1sfGHsg Q5M8U7JXfm3fpcjuOsw+fjV/wt/6TFhRSSFOqpq6UUa06P19MPNKe/AO6lNIX4kEM66wAAAA= To: Kalle Valo CC: , , , , Jeff Johnson X-Mailer: b4 0.12.3 X-Originating-IP: [10.49.16.6] X-ClientProxiedBy: nalasex01a.na.qualcomm.com (10.47.209.196) 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: rJuZxbGD7o1tr1XBWnhU_s4pSqlahjML X-Proofpoint-GUID: rJuZxbGD7o1tr1XBWnhU_s4pSqlahjML X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.980,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-10-13_05,2023-10-12_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 malwarescore=0 phishscore=0 priorityscore=1501 impostorscore=0 bulkscore=0 lowpriorityscore=0 mlxlogscore=465 suspectscore=0 spamscore=0 clxscore=1015 mlxscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2309180000 definitions=main-2310130120 X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS 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: 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]); Fri, 13 Oct 2023 07:25:02 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1779650637316702125 X-GMAIL-MSGID: 1779650637316702125 Both ath11k and ath12k inherited the bd_api member in their struct ath*_base. In ath10k this member is accessed from both ath10k_core_fetch_board_file() and ath10k_debug_print_board_info(), so it is justified. However, in ath11k and ath12k, this member is only used within a single function, so it is not justified in those drivers. Signed-off-by: Jeff Johnson --- Jeff Johnson (2): wifi: ath11k: Remove ath11k_base::bd_api wifi: ath12k: Remove ath12k_base::bd_api drivers/net/wireless/ath/ath11k/core.c | 7 ++++--- drivers/net/wireless/ath/ath11k/core.h | 1 - drivers/net/wireless/ath/ath12k/core.c | 7 ++++--- drivers/net/wireless/ath/ath12k/core.h | 1 - 4 files changed, 8 insertions(+), 8 deletions(-) --- base-commit: 13556aef0bdc0e98df7b6bf2e10d706c59dce6f4 change-id: 20231011-ath11k_bd_api-a9c1678e4cbc