diff options
| author | Colin Ian King <colin.king@canonical.com> | 2017-02-28 14:14:39 +0300 |
|---|---|---|
| committer | Kalle Valo <kvalo@qca.qualcomm.com> | 2017-03-16 11:56:46 +0300 |
| commit | 51f60b8b6979da361c97602d6b6df3c3f72c7c4c (patch) | |
| tree | 38aec006d541e00c9f6eff96c1d9adaea3ff7d00 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 45c3d550b0684343b9d4b25aeec9b49c6effc1f9 (diff) | |
| download | linux-51f60b8b6979da361c97602d6b6df3c3f72c7c4c.tar.xz | |
ath10k: remove redundant error check
The check on ret for an error is redundant because it is already been
checked for non-zero earlier on and ret is never non-zero at this point.
Fix this by removing the redundant check and error message.
Detected by CoverityScan, CID#1357170 ("Logically Dead Code")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
