]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - drivers/net/wireless/intel/iwlwifi/mvm/rs.c
iwlwifi: mvm: rs: Remove unused 'mcs' variable
authorKirtika Ruchandani <kirtika.ruchandani@gmail.com>
Wed, 9 Nov 2016 05:50:33 +0000 (21:50 -0800)
committerLuca Coelho <luciano.coelho@intel.com>
Thu, 26 Jan 2017 07:38:59 +0000 (09:38 +0200)
commit9d50443575fa379c3c72848162af1375a4d43b50
tree5fb34acf35497a929ffd21c0fd5c5002263862f4
parentc94aace0030eed6d26827aaecba207dbc30af112
iwlwifi: mvm: rs: Remove unused 'mcs' variable

Commit 5fc0f76c4 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: 5fc0f76c43bd (iwlwifi: mvm: add Rx frames statistics via debugfs)
Signed-off-by: Kirtika Ruchandani <kirtika@google.com>
Cc: Eyal Shapira <eyal@wizery.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/rs.c