diff options
| author | Colin Ian King <colin.king@canonical.com> | 2017-11-14 17:01:45 +0000 |
|---|---|---|
| committer | Kalle Valo <kvalo@codeaurora.org> | 2017-12-07 15:16:07 +0200 |
| commit | 45d9d1a12efa47ac7f7b25f9da3587e65a9511d3 (patch) | |
| tree | ee44a1204f9075f877e447c56b128826ef97a268 /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | rtlwifi: cleanup the code that check whether TX ring is available (diff) | |
| download | linux-45d9d1a12efa47ac7f7b25f9da3587e65a9511d3.tar.gz linux-45d9d1a12efa47ac7f7b25f9da3587e65a9511d3.zip | |
rtlwifi: rtl818x: remove redundant check for cck_power > 15
cck_poweri cannot be greated than 15 as is derived from the bottom 4 bits
from riv->channels[channel - 1].hw_value & 0xf. Hence the check for it
being greater than 15 is redundant and can be removed.
Detected by CoverityScan, CID#744303 ("Logically dead code")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions
