aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/wireless/intel/iwlwifi/dvm/rs.c
diff options
context:
space:
mode:
authorKirtika Ruchandani <[email protected]>2016-11-08 21:50:48 -0800
committerLuca Coelho <[email protected]>2017-01-26 09:39:00 +0200
commit3ce4a03852d6dd3fd28c2fb2ee9f89bb9ccf9a9b (patch)
tree7891506c84fcc8b3925dae69bd7bfde9857171d1 /drivers/net/wireless/intel/iwlwifi/dvm/rs.c
parent9d50443575fa379c3c72848162af1375a4d43b50 (diff)
iwlwifi: pcie: trans: Remove unused 'shift_param'
shift_param is defined and set in iwl_pcie_load_cpu_sections but not used. Fix this to avoid -Wunused-but-set-variable warning. The code using it turned into dead code with commit dcab8ecd5617 ("iwlwifi: mvm: support ucode load for family_8000 B0 only") which added a separate function iwl_pcie_load_given_ucode_8000 (then 8000b) for IWL_DEVICE_FAMILY_8000. Commit 76f8c0e17edc ("iwlwifi: pcie: remove dead code") removed the dead code but left shift_param as is. iwlwifi/pcie/trans.c: In function ‘iwl_pcie_load_cpu_sections’: iwlwifi/pcie/trans.c:871:6: warning: variable ‘shift_param’ set but not used [-Wunused-but-set-variable] Fixes: dcab8ecd5617 ("iwlwifi: mvm: support ucode load for family_8000 B0 only") Fixes: 76f8c0e17edc ("iwlwifi: pcie: remove dead code") Signed-off-by: Kirtika Ruchandani <[email protected]> Cc: Sara Sharon <[email protected]> Cc: Luca Coelho <[email protected]> Cc: Liad Kaufman <[email protected]> Cc: Emmanuel Grumbach <[email protected]> [removed some unnecessary braces] Signed-off-by: Luca Coelho <[email protected]>
Diffstat (limited to 'drivers/net/wireless/intel/iwlwifi/dvm/rs.c')
0 files changed, 0 insertions, 0 deletions