[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20251030130023.1836808-1-zhongqiu.han@oss.qualcomm.com>
Date: Thu, 30 Oct 2025 21:00:21 +0800
From: Zhongqiu Han <zhongqiu.han@....qualcomm.com>
To: jjohnson@...nel.org
Cc: ath10k@...ts.infradead.org, linux-wireless@...r.kernel.org,
        linux-kernel@...r.kernel.org, zhongqiu.han@....qualcomm.com
Subject: [PATCH 0/2] wifi: ath10k: clean up structure initialization
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
Powered by blists - more mailing lists
 
