summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMiri Korenblit <miriam.rachel.korenblit@intel.com>2023-03-20 13:33:15 +0300
committerJohannes Berg <johannes.berg@intel.com>2023-03-22 15:16:36 +0300
commit6a8dee1391ff1d4942e8f09b5fb8c1087cd6a6c7 (patch)
tree09dbb6d64fa26ab39b6020963054a7e9257c2d43 /tools/perf/scripts/python
parent77b6a2e5f49bb3a4756a4b82f24221e62fa6ea8c (diff)
downloadlinux-6a8dee1391ff1d4942e8f09b5fb8c1087cd6a6c7.tar.xz
wifi: iwlwifi: mvm: remove not needed initializations
In iwl_mvm_add_sta() we're initializing the new allocated mvm_sta. We are setting some fields to zero even though it was allocated with kzalloc, for the case of HW restart. But in such a case we will never get to this initializations due to the goto statement that we have in this case. Remove these initializations. Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com> Signed-off-by: Gregory Greenman <gregory.greenman@intel.com> Link: https://lore.kernel.org/r/20230320122330.c0b4d1e986a5.I6959bf1aca74c865e3c1edbf711f5fe8fb8c0c9f@changeid Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions