selftests/thermal: remove duplicate sprintf() call in workload_hint_test
authorWangYuli <wangyuli@uniontech.com>
Thu, 10 Jul 2025 13:04:12 +0000 (21:04 +0800)
committerAndrew Morton <akpm@linux-foundation.org>
Sun, 20 Jul 2025 02:08:28 +0000 (19:08 -0700)
commit813b46808822db6838c43e92ba21ce013d23fcdc
treea03697bfb2b203262d037fd4d4d12b2fe161b953
parent36e22416872114cae812cdcdd84a5b99ef30b3de
selftests/thermal: remove duplicate sprintf() call in workload_hint_test

Remove redundant sprintf() call that was duplicating the same operation of
formatting delay_str with argv[1].

Link: https://lkml.kernel.org/r/6338CD0E839B770B+20250710130412.284531-1-wangyuli@uniontech.com
Signed-off-by: WangYuli <wangyuli@uniontech.com>
Cc: Guan Wentao <guanwentao@uniontech.com>
Cc: Shuah Khan <shuah@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
tools/testing/selftests/thermal/intel/workload_hint/workload_hint_test.c