iwlwifi: mvm: remove unused variable in iwl_mvm_handle_statistics()
authorLuca Coelho <luciano.coelho@intel.com>
Wed, 9 Nov 2016 08:07:14 +0000 (10:07 +0200)
committerLuca Coelho <luciano.coelho@intel.com>
Thu, 26 Jan 2017 07:38:58 +0000 (09:38 +0200)
commit7b1be5ad26d36a8ed5e930793f269f3d844166f1
treea7340e307dfbb35f4c3f25e245e1aeb520253f14
parentd8320d75b59ecdc1b8e60ac793d3a54d84333a18
iwlwifi: mvm: remove unused variable in iwl_mvm_handle_statistics()

The temperature variable is set but not used in
iwl_mvm_handle_statistics().  Remove it to avoid the following
compiler warning when W=1 is used:

/home/luca/iwlwifi/stack-dev/drivers/net/wireless/intel/iwlwifi/mvm/rx.c: In function ‘iwl_mvm_handle_rx_statistics’:
/home/luca/iwlwifi/stack-dev/drivers/net/wireless/intel/iwlwifi/mvm/rx.c:759:6: warning: variable ‘temperature’ set but not used [-Wunused-but-set-variable]
  u32 temperature;
      ^

Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/rx.c