[PATCH 0/2] wifi: ath10k: clean up structure initialization
Zhongqiu Han
zhongqiu.han at oss.qualcomm.com
Thu Oct 30 06:00:21 PDT 2025
This patchset simplifies structure initialization in ath10k by replacing
explicit memset() calls with zero initializers (`= {}`) for local
variables.
Patch 1 updates the initialization of `pm_qos_request` in
ath10k_download_fw().
Patch 2 updates the initialization of `bmi_target_info` in
ath10k_core_probe_fw().
These changes improve code clarity and efficiency by avoiding unnecessary
runtime memset calls.
Zhongqiu Han (2):
wifi: ath10k: use = {} to initialize pm_qos_request instead of memset
wifi: ath10k: use = {} to initialize bmi_target_info instead of memset
drivers/net/wireless/ath/ath10k/core.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
--
2.43.0
More information about the ath10k
mailing list