From 2e93cb6ed86053a13630306b1135332a3ebaf160 Mon Sep 17 00:00:00 2001 From: Stefano Brivio Date: Sat, 24 Sep 2022 00:09:23 +0200 Subject: test/lib: Drop perf_report_append() from perf_report It's not used anymore. While at it, fix the function name in the comment to perf_report_append_js(). Signed-off-by: Stefano Brivio --- test/lib/perf_report | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/test/lib/perf_report b/test/lib/perf_report index 8fd0588..46454d1 100755 --- a/test/lib/perf_report +++ b/test/lib/perf_report @@ -192,12 +192,7 @@ perf_report_sub() { sed -i 's/__'"${__et}"'__/'"${__es}"'/g' "${PERF_JS}" } -# perf_report_append() - Append generic string to current JavaScript report -perf_report_append() { - echo "${@}" >> "${PERF_JS}" -} - -# perf_report_append() - Append generic string to current template buffer +# perf_report_append_js() - Append generic string to current template buffer perf_report_append_js() { PERF_TEMPLATE_JS="${PERF_TEMPLATE_JS}${@}" } -- cgit v1.2.3