iwlwifi: dbg-tlv: clean up iwl_dbg_tlv_update_drams()
authorJohannes Berg <johannes.berg@intel.com>
Sun, 30 Jan 2022 09:53:01 +0000 (11:53 +0200)
committerLuca Coelho <luciano.coelho@intel.com>
Fri, 18 Feb 2022 08:40:52 +0000 (10:40 +0200)
commitc76c83097587a6ca77ac490008368700417d67cc
tree3b1dbd5325c8c8b0ad012d19f4af5023ec37e4a8
parent872f6bb08fc23c6750a3923f74cfaaacd0971ca3
iwlwifi: dbg-tlv: clean up iwl_dbg_tlv_update_drams()

This function puts a fairly large structure unnecessarily
on the stack, and also has a few other very strange things,
clean it up a bit.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Link: https://lore.kernel.org/r/iwlwifi.20220130115024.9f2c282a3104.If6b868c96c0d089579ca72fd270387de81359d5b@changeid
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/iwl-dbg-tlv.c