Re: [PATCH 0/2] wifi: ath10k: clean up structure initialization

From: Vasanthakumar Thiagarajan

Date: Thu Oct 30 2025 - 14:26:18 EST




On 10/30/2025 6:30 PM, Zhongqiu Han wrote:
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(-)

Branch name is missing, with that addressed

Reviewed-by: Vasanthakumar Thiagarajan <vasanthakumar.thiagarajan@xxxxxxxxxxxxxxxx>