diff options
author | 2014-11-20 11:03:38 -0600 | |
---|---|---|
committer | 2014-11-21 15:19:10 -0500 | |
commit | 7bba35bddadbca599aa8be1618e04c548a58d05a (patch) | |
tree | c15ad45dedc44d12fa6e95b81fb8eff4491b737f /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | amd-xgbe: Tx engine must not be active before stopping it (diff) | |
download | linux-dev-7bba35bddadbca599aa8be1618e04c548a58d05a.tar.xz linux-dev-7bba35bddadbca599aa8be1618e04c548a58d05a.zip |
amd-xgbe: Incorporate Smatch coding suggestion
The Smatch tool indicated that one of the if statements in xgbe-dev.c
could be rewritten to remove a redundant check for the 'err' variable
in an if statement.
Change the statement as suggested and add a comment to help clarify.
Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions