perf tests stat+csv_summary: Fix unused variable references detected via shellcheck
[platform/kernel/linux-rpi.git] / tools / perf / tests / shell / stat+csv_summary.sh
index 5571ff7..8bae9c8 100755 (executable)
@@ -10,7 +10,7 @@ set -e
 #
 perf stat -e cycles  -x' ' -I1000 --interval-count 1 --summary 2>&1 | \
 grep -e summary | \
-while read summary num event run pct
+while read summary _num _event _run _pct
 do
        if [ $summary != "summary" ]; then
                exit 1
@@ -23,7 +23,7 @@ done
 #
 perf stat -e cycles  -x' ' -I1000 --interval-count 1 --summary --no-csv-summary 2>&1 | \
 grep -e summary | \
-while read num event run pct
+while read _num _event _run _pct
 do
        exit 1
 done