diff options
| author | YueHaibing <[email protected]> | 2018-12-05 07:26:06 +0000 |
|---|---|---|
| committer | Kalle Valo <[email protected]> | 2018-12-13 17:02:17 +0200 |
| commit | 662a7b078cff6ab246d875775af7affedcf6e2d5 (patch) | |
| tree | f57c3b69de74ba123d92e541afc65360826166ab /tools/perf/scripts/python/intel-pt-events.py | |
| parent | 412dd15c8177d93abe0c8787b83b31c5eb061405 (diff) | |
b43: remove set but not used variables 'tx_pwr_state,tmp2'
Fixes gcc '-Wunused-but-set-variable' warning:
drivers/net/wireless/broadcom/b43/phy_n.c: In function 'b43_nphy_op_recalc_txpower':
drivers/net/wireless/broadcom/b43/phy_n.c:5898:7: warning:
variable 'tx_pwr_state' set but not used [-Wunused-but-set-variable]
drivers/net/wireless/broadcom/b43/phy_n.c:6047:20: warning:
variable 'tmp2' set but not used [-Wunused-but-set-variable]
'tx_pwr_state' never used since introduction in commit
8615eb2870f1 ("b43: N-PHY: support setting custom TX power")
'tmp2' not used any more since commit c002831a07dd ("b43: N-PHY: use helper
for checking IPA")
Signed-off-by: YueHaibing <[email protected]>
Signed-off-by: Kalle Valo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions