Skip to content
Commit 9d504435 authored by Kirtika Ruchandani's avatar Kirtika Ruchandani Committed by Luca Coelho
Browse files

iwlwifi: mvm: rs: Remove unused 'mcs' variable

Commit 5fc0f76c introduced Rx stats from debugfs, the function
iwl_mvm_reset_frame_stats from that commit defines and sets mcs but
does not use it. Compiling iwlwifi with W=1 gives this warning -

iwlwifi/mvm/rs.c: In function ‘iwl_mvm_update_frame_stats’:
iwlwifi/mvm/rs.c:3074:14: warning: variable ‘mcs’ set but not used [-Wunused-but-set-variable]

Fixes: 5fc0f76c

 (iwlwifi: mvm: add Rx frames statistics via debugfs)
Signed-off-by: default avatarKirtika Ruchandani <kirtika@google.com>
Cc: Eyal Shapira <eyal@wizery.com>
Signed-off-by: default avatarLuca Coelho <luciano.coelho@intel.com>
parent c94aace0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment