diff options
author | 2016-11-14 16:39:16 -0600 | |
---|---|---|
committer | 2016-11-15 22:12:57 -0500 | |
commit | 8c5385cbb0361dd6538b5b422996c3f1e1c6989d (patch) | |
tree | ba4e9ca0a2cac27664f22de77977200a5a3b97bc /tools/perf/scripts/python/export-to-postgresql.py | |
parent | amd-xgbe: Fix mask appliciation for Clause 37 register (diff) | |
download | linux-dev-8c5385cbb0361dd6538b5b422996c3f1e1c6989d.tar.xz linux-dev-8c5385cbb0361dd6538b5b422996c3f1e1c6989d.zip |
amd-xgbe: Fix up some coccinelle identified warnings
Fix up some warnings that were identified by coccinelle:
Clean up an if/else block that can look confusing since the same statement
is executed in an "else if" check and the final "else" statement.
Change a variable from unsigned int to int since it is used in an if
statement checking the value to be less than 0.
Reported-by: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions