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

Vasanthakumar Thiagarajan quic_vthiagar at quicinc.com
Thu Oct 30 11:26:02 PDT 2025



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 at oss.qualcomm.com>



More information about the ath10k mailing list