iwlwifi: mvm: fw: clean up hcmd struct creation
authorJohannes Berg <johannes.berg@intel.com>
Fri, 28 Jan 2022 13:34:24 +0000 (15:34 +0200)
committerLuca Coelho <luciano.coelho@intel.com>
Fri, 18 Feb 2022 08:40:50 +0000 (10:40 +0200)
commitc8611331596108f314b0e65493a6b97ec0b33da5
tree79e4a92bb44f393f0e9d0b48b1383ae3f2184cc4
parentf0c864273849bafc08e0948319507bbd0bc0a7d7
iwlwifi: mvm: fw: clean up hcmd struct creation

This is valid, but pretty uncommon in the driver, clean up
the code here a bit to use an initializer.

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.20220128153014.1717817392df.I75add2a50a69d28eaebfd67e5a0524bf43119a81@changeid
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/fw.c