bianbu-linux-6.6/drivers/net/wireless/intel
Miri Korenblit 2696e598c6 wifi: iwlwifi: don't use an uninitialized variable
[ Upstream commit c46fcc6e43d617252945e706f04e5f82a59f2b8e ]

Don't use variable err uninitialized.
The reason for removing the check instead of initializing it
in the beginning of the function is because that way
static checkers will be able to catch issues if we do something
wrong in the future.

Fixes: bf976c814c ("wifi: iwlwifi: mvm: implement link change ops")
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/20230830112059.431b01bd8779.I31fc4ab35f551b85a10f974a6b18fc30191e9c35@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-11-20 11:58:55 +01:00
..
ipw2x00 wifi: ipw2x00: refactor to use kstrtoul 2023-08-21 19:10:02 +03:00
iwlegacy wifi: iwlegacy: avoid fortify warning 2023-02-17 11:35:54 +02:00
iwlwifi wifi: iwlwifi: don't use an uninitialized variable 2023-11-20 11:58:55 +01:00
Kconfig treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
Makefile iwlwifi: fix build error for IWLMEI 2022-03-02 22:36:49 +01:00