summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorZhao Gongyi <zhaogongyi@huawei.com>2022-10-11 09:39:26 +0800
committerShuah Khan <skhan@linuxfoundation.org>2022-10-18 14:21:18 -0600
commiteb6789b0c3424f84e8441c4796083db2f095c391 (patch)
treebde64e49cfcb1167e33259eb662af3783f367e57 /tools
parent2a8e366b23fea29a5308f71ba49555e3c8c664f1 (diff)
downloadlinux-eb6789b0c3424f84e8441c4796083db2f095c391.tar.bz2
selftests/memory-hotplug: Remove the redundant warning information
Remove the redundant warning information of online_all_offline_memory() since there is a warning in online_memory_expect_success(). Signed-off-by: Zhao Gongyi <zhaogongyi@huawei.com> Reviewed-by: David Hildenbrand <david@redhat.com> Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'tools')
-rwxr-xr-xtools/testing/selftests/memory-hotplug/mem-on-off-test.sh1
1 files changed, 0 insertions, 1 deletions
diff --git a/tools/testing/selftests/memory-hotplug/mem-on-off-test.sh b/tools/testing/selftests/memory-hotplug/mem-on-off-test.sh
index 74ee5067a8ce..611be86eaf3d 100755
--- a/tools/testing/selftests/memory-hotplug/mem-on-off-test.sh
+++ b/tools/testing/selftests/memory-hotplug/mem-on-off-test.sh
@@ -138,7 +138,6 @@ online_all_offline_memory()
{
for memory in `hotpluggable_offline_memory`; do
if ! online_memory_expect_success $memory; then
- echo "$FUNCNAME $memory: unexpected fail" >&2
retval=1
fi
done