diff options
| author | Zhongqiu Han <zhongqiu.han@oss.qualcomm.com> | 2025-10-30 21:00:23 +0800 |
|---|---|---|
| committer | Jeff Johnson <jeff.johnson@oss.qualcomm.com> | 2025-10-30 14:55:08 -0700 |
| commit | 059ca8fd692b67a77fb89e9d4e8f57cf08e32b08 (patch) | |
| tree | 77ff45bbc22b86cd9b28d5eb6c444d4cd8c3ad85 /rust/kernel/processor.rs | |
| parent | 877f9c22fdf424c657de757bfe8543cf77461324 (diff) | |
wifi: ath10k: use = {} to initialize bmi_target_info instead of memset
Initialize the bmi_target_info structure using = {} at declaration time
instead of calling memset() in each bus-specific code path. This
simplifies the code and avoids an explicit memset.
Signed-off-by: Zhongqiu Han <zhongqiu.han@oss.qualcomm.com>
Reviewed-by: Vasanthakumar Thiagarajan <vasanthakumar.thiagarajan@oss.qualcomm.com>
Link: https://patch.msgid.link/20251030130023.1836808-3-zhongqiu.han@oss.qualcomm.com
Signed-off-by: Jeff Johnson <jeff.johnson@oss.qualcomm.com>
Diffstat (limited to 'rust/kernel/processor.rs')
0 files changed, 0 insertions, 0 deletions
