Received: by 2002:a05:7412:8521:b0:e2:908c:2ebd with SMTP id t33csp775813rdf; Fri, 3 Nov 2023 15:06:02 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHa6LI9tQktqP7vLmHbflSZE7VsX34pqnVKpwEegNsYBD3awOG5dmMYEtcwxEz1RWKmMG1X X-Received: by 2002:a17:902:f9c3:b0:1cc:474d:bdf9 with SMTP id kz3-20020a170902f9c300b001cc474dbdf9mr13383252plb.36.1699049162539; Fri, 03 Nov 2023 15:06:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1699049162; cv=none; d=google.com; s=arc-20160816; b=j3241Xmwsf2GuYG1dWFjX8uYMeMD/igHm8RukJcJeERTgtWCx4+mwdfUHZiy21px2j EyugjIwpRq1iVGMOjigDID1D7r3rLP6Xm1yogfz6Pvz/Ek/V86zhpRToU+dbDlTF+fos ScadOtapFCd7A5SZuI20DDh6cF9lAUQXdRDxV83qgSFA425rhjUrnGqvdBOpbiSQZDjv 50YDMViJe67QFKZlbCCTtvT3uXdtc5MhCro7Qxlqn3hETC96e2+0QBkrRPgL66HKTMqj brpEj/A8cqiMk6v4cCJ7C87gWSrvkf9BvsVBTnXrn+nyFzQ8wbyIlFJjxkIPCHboB1Si 7ohw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:message-id:content-transfer-encoding :mime-version:subject:date:from:dkim-signature; bh=NqUTEFbJ5nq8FmahHI75LFuipe+tD6i+E3bAsGInr5k=; fh=LJ7QEmySKv2uFiQ5gHa0ddhJFiHfxHARxY+nsa0sBL0=; b=UAY6BpvRgqmC9MwZlrlMsr2yWx7aEffZ9zB6dTlefRB1aCFDo+gW8slk5zEBHpgNyV LNuNfI/mAcP6sHqx/JLT4eJYEFGdtL2PXI2PZ5gABr+gPl07Ut96Uw1S4kBpPS+lcHOX J5aN8m/G+Bi2C8LgEhZvIsehRwARAqr5VM0cgNWnNZ5OfB3Ph2I7zy5AFMrxYFf1EH6K 8tWJZLVfJRuTj53XL69ulQSEX6pLrCcPKKYE+seSk4AfUR6M4nPmXXl9fhmdIWdUjqEj Pqp9mcux1xGKbn5cWcPPqhBOwvlBfVJ01uk5Bxh6PbMXofpLxJomDUBUJt5dC3uYpcg7 xtHw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=DULFBaHq; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.33 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 lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id h7-20020a170902f7c700b001c60de17b5esi2277226plw.118.2023.11.03.15.06.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 Nov 2023 15:06:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-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=DULFBaHq; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.33 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 lipwig.vger.email (Postfix) with ESMTP id D8BBC83650B1; Fri, 3 Nov 2023 15:05:58 -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 S233348AbjKCWF7 (ORCPT + 53 others); Fri, 3 Nov 2023 18:05:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45688 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230392AbjKCWF6 (ORCPT ); Fri, 3 Nov 2023 18:05:58 -0400 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CC6BDD68; Fri, 3 Nov 2023 15:05:55 -0700 (PDT) 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 3A3LunVt010061; Fri, 3 Nov 2023 22:05:49 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 : to : cc; s=qcppdkim1; bh=NqUTEFbJ5nq8FmahHI75LFuipe+tD6i+E3bAsGInr5k=; b=DULFBaHq3SIQkrzSbiqcLHPxtRiMDk/rNhL/b9+cG4Wgr4PdG6j4VC6AX6hsZil7PGu3 deFXkqFhzWNqvK2GE0K7JNcT4cNdE5g32mQyQ0FgtVRL7bLIJgLGRhqEo4GsUNlgAhAY V1KfiB+X/eaZQejBLXkT8w2qoqn0qXgohtCSPVeEBTp6xXhYRzt7iPxgw/nZ8rS8F7Qz lJZCr4sROl/pC7iBQ3vj5bQQjtrESVP1K6DgnvoxnI+ddmaoJZi7WmK1qBB+OcsK2zN5 iUrkyYSW8ed3nUEixbKlzlN670DjhYfmrEABkRO4QLmCKTQn+8f7OtylCt08MAYkZj8L gA== Received: from nalasppmta05.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3u533j8wcs-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 03 Nov 2023 22:05:49 +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 3A3M5c67021096 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 3 Nov 2023 22:05:38 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; Fri, 3 Nov 2023 15:05:37 -0700 From: Jeff Johnson Date: Fri, 3 Nov 2023 15:05:36 -0700 Subject: [PATCH] wifi: ath10k: Remove unused struct ath10k_htc_frame MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-ID: <20231103-ath10k_htc_frame-v1-1-ff00b38a9630@quicinc.com> X-B4-Tracking: v=1; b=H4sIAK9uRWUC/32NQQ6CMBBFr0JmbU2nVEBX3sMQUsvUTgygbSUaw t2tHMDle8l/f4FIgSnCqVgg0MyRpzED7gqw3ow3EtxnBiVViVIdhEke5b3zyXYumIEEVn1DunT 1seohzx6BHL+35KXN7DmmKXy2hxl/9k9sRoFCNgq1Kmttrvr8fLHl0e7tNEC7rusXLp8pWbIAA AA= 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-GUID: 8yDxnvN3hX6ED0uM-r3Or87iMcaGtgww X-Proofpoint-ORIG-GUID: 8yDxnvN3hX6ED0uM-r3Or87iMcaGtgww 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-03_21,2023-11-02_03,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxlogscore=713 clxscore=1015 priorityscore=1501 adultscore=0 impostorscore=0 malwarescore=0 mlxscore=0 bulkscore=0 suspectscore=0 lowpriorityscore=0 spamscore=0 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2310240000 definitions=main-2311030187 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: X-Mailing-List: linux-wireless@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, 03 Nov 2023 15:05:59 -0700 (PDT) struct ath10k_htc_frame is unused, and since it illogically contains two consecutive flexible arrays, it could never be used, so remove it. No functional changes, compile tested only. Signed-off-by: Jeff Johnson --- drivers/net/wireless/ath/ath10k/htc.h | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/drivers/net/wireless/ath/ath10k/htc.h b/drivers/net/wireless/ath/ath10k/htc.h index 0d180faf3b77..0eaa21ad86ac 100644 --- a/drivers/net/wireless/ath/ath10k/htc.h +++ b/drivers/net/wireless/ath/ath10k/htc.h @@ -253,19 +253,6 @@ struct ath10k_htc_record { }; } __packed __aligned(4); -/* - * note: the trailer offset is dynamic depending - * on payload length. this is only a struct layout draft - */ -struct ath10k_htc_frame { - struct ath10k_htc_hdr hdr; - union { - struct ath10k_htc_msg msg; - u8 payload[0]; - }; - struct ath10k_htc_record trailer[0]; -} __packed __aligned(4); - /*******************/ /* Host-side stuff */ /*******************/ --- base-commit: ac2f43d3d34e52b0d388b4c573ff6bbac90235b9 change-id: 20231025-ath10k_htc_frame-16d8e43f796d