wifi: ath12k: Use initializers for QMI message buffers
authorJeff Johnson <quic_jjohnson@quicinc.com>
Thu, 11 Jan 2024 18:05:32 +0000 (10:05 -0800)
committerKalle Valo <quic_kvalo@quicinc.com>
Sun, 14 Jan 2024 15:00:50 +0000 (17:00 +0200)
commit6d2b0a066941c5d9c56c79d95c91dcec2fd7a7fa
tree270c90194fc683ec08c566a0adf0527a6cc6958a
parent2e82b5f09a97f1b98b885470c81c1248bec103af
wifi: ath12k: Use initializers for QMI message buffers

Currently most of the QMI messaging functions use memset() to zero out
the QMI message buffers. Prefer to use a {} initializer to allow the
compiler to generate optimized code and avoid the function call
overhead.

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-3-53343af953d5@quicinc.com
drivers/net/wireless/ath/ath12k/qmi.c