wifi: ath12k: Remove unnecessary struct qmi_txn initializers
authorJeff Johnson <quic_jjohnson@quicinc.com>
Thu, 11 Jan 2024 18:05:30 +0000 (10:05 -0800)
committerKalle Valo <quic_kvalo@quicinc.com>
Sun, 14 Jan 2024 15:00:50 +0000 (17:00 +0200)
commit59cf57ab3deea979ffc0a6f7c22f4331e59d32f0
tree21707baf7404346d170f662d4de3d2b52cecf2dc
parent74ef2d05ede63fd6416aa635aa8972dff901325f
wifi: ath12k: Remove unnecessary struct qmi_txn initializers

Currently most of the ath12k QMI messaging functions define their
struct qmi_txn variables with a {} initializer. However, all of these
functions subsequently call qmi_txn_init(), and the very first thing
that function does is zero the struct. Hence, the initializers are
unnecessary. Since these consume code space and cpu cycles, remove
them.

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://msgid.link/20240111-qmi-cleanup-v2-1-53343af953d5@quicinc.com
drivers/net/wireless/ath/ath12k/qmi.c