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 <sbrivio@redhat.com>
This commit is contained in:
Stefano Brivio 2022-09-24 00:09:23 +02:00
parent b3549093f7
commit 2e93cb6ed8

View file

@ -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}${@}"
}