summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorGustavo A R Silva <garsilva@embeddedor.com>2017-06-14 21:38:26 -0500
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2017-07-26 03:25:18 -0700
commitdb1a8f8e833037a8ed0f333243d0c90d18acb62f (patch)
treee60edb2060ab87b18c67c22d6a2b82a00daedf94 /tools/perf/scripts/python/call-graph-from-postgresql.py
parent34c8c10a766c8daf42293664f5c9ca5516fa3f41 (diff)
i40e: fix incorrect variable assignment
Fix incorrect variable assignment. Based on line 1511: aq_ret = I40_ERR_PARAM; the correct variable to be used in this instance is aq_ret instead of ret. Also, variable ret is updated at line 1602 just before return, so assigning a value to this variable in this code block is useless. Addresses-Coverity-ID: 1397693 Signed-off-by: Gustavo A R Silva <garsilva@embeddedor.com> Acked-by: Jesse Brandeburg <jesse.brandeburg@intel.com> Tested-by: Andrew Bowers <andrewx.bowers@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions