Skip to content

Fix -Wunused-but-set-variable in iwlwifi/pcie/trans and iwlwifi/mvm/rs

Kirtika Ruchandani linux-wireless 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest3 patches 4 repliesIn review

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3iwlwifi: mvm: rs: Remove unused 'mvmvif'/'mvmsta' variablesdrivers/net/wireless/intel/iwlwifi/mvm/rs.c+0 -61 reply
2/3iwlwifi: mvm: rs: Remove unused 'mcs' variabledrivers/net/wireless/intel/iwlwifi/mvm/rs.c+1 -31 reply
3/3iwlwifi: pcie: trans: Remove unused 'shift_param'drivers/net/wireless/intel/iwlwifi/pcie/trans.c+0 -31 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/3] Fix -Wunused-but-set-variable in iwlwifi/pcie/trans and iwlwifi/mvm/rs

This patchset is part of the effort led by Arnd Bergmann to clean up warnings in the kernel. This and following patchsets will focus on "-Wunused-but-set-variable" as it among the noisier ones. These were found compiling with W=1.

Signature · 17 lines
Changes in v2:
- Made the following changes suggested by Arnd in all 3 patches
  1. Each patch has a unique subject line.
  2. Add the commit that introduced/led to the warning with the "Fixes:" line.
  3. cc linux-wireles, cc commit authors.

Kirtika Ruchandani (3):
  iwlwifi: mvm: rs: Remove unused 'mvmvif'/'mvmsta' variables
  iwlwifi: mvm: rs: Remove unused 'mcs' variable
  iwlwifi: pcie: trans: Remove unused 'shift_param'

 drivers/net/wireless/intel/iwlwifi/mvm/rs.c     | 10 +---------
 drivers/net/wireless/intel/iwlwifi/pcie/trans.c |  3 ---
 2 files changed, 1 insertion(+), 12 deletions(-)

-- 
2.8.0.rc3.226.g39d4020