diff options
| author | Lendacky, Thomas <[email protected]> | 2016-11-14 16:39:16 -0600 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2016-11-15 22:12:57 -0500 |
| commit | 8c5385cbb0361dd6538b5b422996c3f1e1c6989d (patch) | |
| tree | ba4e9ca0a2cac27664f22de77977200a5a3b97bc /scripts/const_structs.checkpatch | |
| parent | e6fbd47add0d13189bacb1881fe006db5027536e (diff) | |
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 <[email protected]>
Signed-off-by: Tom Lendacky <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'scripts/const_structs.checkpatch')
0 files changed, 0 insertions, 0 deletions