wifi: iwlwifi: drop NULL pointer check in iwl_mvm_tzone_set_trip_temp()
authorDmitry Antipov <dmantipov@yandex.ru>
Tue, 3 Oct 2023 09:20:46 +0000 (12:20 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 23 Oct 2023 10:50:21 +0000 (12:50 +0200)
commitcf912ca1a3c3d2e6fcacb6568e66f72cca05277d
treeb818faf4599abfac6d1616195fea7e4715127e85
parent06f1372e8e7aad72449de2feaa2ae7f42ebde228
wifi: iwlwifi: drop NULL pointer check in iwl_mvm_tzone_set_trip_temp()

Since 'tz_device' is an in-place member of 'struct iwl_mvm', it can't
be NULL and so relevant check may be dropped. Compile tested only.

Found by Linux Verification Center (linuxtesting.org) with SVACE.

Signed-off-by: Dmitry Antipov <dmantipov@yandex.ru>
Acked-by: Gregory Greenman <gregory.greenman@intel.com>
Link: https://lore.kernel.org/r/20231003092048.24998-1-dmantipov@yandex.ru
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/tt.c