mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/2] wifi: ath10k: clean up structure initialization
@ 2025-10-30 13:00 Zhongqiu Han
  2025-10-30 13:00 ` [PATCH 1/2] wifi: ath10k: use = {} to initialize pm_qos_request instead of memset Zhongqiu Han
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Zhongqiu Han @ 2025-10-30 13:00 UTC (permalink / raw)
  To: jjohnson; +Cc: ath10k, linux-wireless, linux-kernel, zhongqiu.han

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2025-10-30 21:57 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-10-30 13:00 [PATCH 0/2] wifi: ath10k: clean up structure initialization Zhongqiu Han
2025-10-30 13:00 ` [PATCH 1/2] wifi: ath10k: use = {} to initialize pm_qos_request instead of memset Zhongqiu Han
2025-10-30 13:00 ` [PATCH 2/2] wifi: ath10k: use = {} to initialize bmi_target_info " Zhongqiu Han
2025-10-30 18:26 ` [PATCH 0/2] wifi: ath10k: clean up structure initialization Vasanthakumar Thiagarajan
2025-10-30 21:57 ` Jeff Johnson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®