diff options
| author | Lendacky, Thomas <Thomas.Lendacky@amd.com> | 2016-11-15 01:39:16 +0300 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2016-11-16 06:12:57 +0300 |
| commit | 8c5385cbb0361dd6538b5b422996c3f1e1c6989d (patch) | |
| tree | ba4e9ca0a2cac27664f22de77977200a5a3b97bc /tools/perf/scripts/python | |
| parent | e6fbd47add0d13189bacb1881fe006db5027536e (diff) | |
| download | linux-8c5385cbb0361dd6538b5b422996c3f1e1c6989d.tar.xz | |
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 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
