diff options
author | 2023-07-17 16:15:01 +0300 | |
---|---|---|
committer | 2023-07-25 08:53:36 -0600 | |
commit | 5e3e4f1a03f075bd49104ea4c998c20649a49491 (patch) | |
tree | 2456bf9cd4a85f1619c98f6c849d6572b3ce6115 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | selftests/resctrl: Remove "malloc_and_init_memory" param from run_fill_buf() (diff) | |
download | wireguard-linux-5e3e4f1a03f075bd49104ea4c998c20649a49491.tar.xz wireguard-linux-5e3e4f1a03f075bd49104ea4c998c20649a49491.zip |
selftests/resctrl: Remove unnecessary startptr global from fill_buf
fill_buf stores buffer pointer into global variable startptr that is
only used in fill_cache().
Remove startptr as global variable, the local variable in fill_cache()
is enough to keep the pointer.
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Reviewed-by: Reinette Chatre <reinette.chatre@intel.com>
Tested-by: Babu Moger <babu.moger@amd.com>
Tested-by: Shaopeng Tan (Fujitsu) <tan.shaopeng@fujitsu.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions