summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/ath/ath10k/htc.h
diff options
context:
space:
mode:
authorJeff Johnson <quic_jjohnson@quicinc.com>2023-11-04 01:05:36 +0300
committerKalle Valo <quic_kvalo@quicinc.com>2023-11-22 21:23:05 +0300
commit2bc76fef1a9a649e11b2dac6205bb8177128fc21 (patch)
treeec5697c65b6053b8bed0328ea52fb598cfdfc61a /drivers/net/wireless/ath/ath10k/htc.h
parent08500f6eaa914019d36861a1e1f868d3ccd73781 (diff)
downloadlinux-2bc76fef1a9a649e11b2dac6205bb8177128fc21.tar.xz
wifi: ath10k: Remove unused struct ath10k_htc_frame
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 <quic_jjohnson@quicinc.com> Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com> Link: https://lore.kernel.org/r/20231103-ath10k_htc_frame-v1-1-ff00b38a9630@quicinc.com
Diffstat (limited to 'drivers/net/wireless/ath/ath10k/htc.h')
-rw-r--r--drivers/net/wireless/ath/ath10k/htc.h13
1 files changed, 0 insertions, 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 */
/*******************/