summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorDave Jiang <dave.jiang@intel.com>2024-04-03 18:47:12 +0300
committerDave Jiang <dave.jiang@intel.com>2024-04-05 18:15:50 +0300
commit648dae58a830ecceea3b1bebf68432435980f137 (patch)
treed83117e7f5c6caafc90895795f1276031cad95ce /tools/perf/scripts/python/export-to-postgresql.py
parentf7c52345ccc96343c0a05bdea3121c8ac7b67d5f (diff)
downloadlinux-648dae58a830ecceea3b1bebf68432435980f137.tar.xz
cxl: Remove checking of iter in cxl_endpoint_get_perf_coordinates()
The while() loop in cxl_endpoint_get_perf_coordinates() checks to see if 'iter' is valid as part of the condition breaking out of the loop. is_cxl_root() will stop the loop before the next iteration could go NULL. Remove the iter check. The presence of the iter or removing the iter does not impact the behavior of the code. This is a code clean up and not a bug fix. Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> Reviewed-by: Davidlohr Bueso <dave@stgolabs.net> Reviewed-by: Dan Williams <dan.j.williams@intel.com> Link: https://lore.kernel.org/r/20240403154844.3403859-2-dave.jiang@intel.com Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions