iwlwifi: dvm: make rs_tl_get_load() return void
authorLuca Coelho <luciano.coelho@intel.com>
Wed, 9 Nov 2016 07:48:49 +0000 (09:48 +0200)
committerLuca Coelho <luciano.coelho@intel.com>
Thu, 26 Jan 2017 07:39:00 +0000 (09:39 +0200)
commitad04e088d48a37871a5635de4acdfa689a0b2429
tree30fb67723ed75ca98f36fbd9cd2e44bb112070b3
parent3ce4a03852d6dd3fd28c2fb2ee9f89bb9ccf9a9b
iwlwifi: dvm: make rs_tl_get_load() return void

The return value from this function is never used, so make it return
void to avoid getting the following warning when compiling wiht W=1:

/home/luca/iwlwifi/stack-dev/drivers/net/wireless/intel/iwlwifi/dvm/rs.c: In function ‘rs_tl_turn_on_agg_for_tid’:
/home/luca/iwlwifi/stack-dev/drivers/net/wireless/intel/iwlwifi/dvm/rs.c:400:6: warning: variable ‘load’ set but not used [-Wunused-but-set-variable]
  u32 load;
      ^

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