summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath9k/common-spectral.c
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2018-10-11 10:09:20 +0200
committerKalle Valo <kvalo@codeaurora.org>2018-10-13 19:26:49 +0200
commite3bfecd5cd37a93c47c146c41d5f1fde7405b592 (patch)
tree7bb7600b338475b8d943f46dcea5fbd7f03f15e4 /drivers/net/wireless/ath/ath9k/common-spectral.c
parentath10k: allocate small size dma memory in ath10k_pci_diag_write_mem (diff)
downloadlinux-e3bfecd5cd37a93c47c146c41d5f1fde7405b592.tar.xz
linux-e3bfecd5cd37a93c47c146c41d5f1fde7405b592.zip
ath10k: htt: remove some dead code
We added an unnecessary condition here in commit a904417fc876 ("ath10k: add extended per sta tx statistics support"). "legacy_rate_idx" is a u8 so it can't be negative. The caller doesn't pass negatives either. I have deleted this code. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/common-spectral.c')
0 files changed, 0 insertions, 0 deletions