selftests/memory-hotplug: Remove the redundant warning information
authorZhao Gongyi <zhaogongyi@huawei.com>
Tue, 11 Oct 2022 01:39:26 +0000 (09:39 +0800)
committerShuah Khan <skhan@linuxfoundation.org>
Tue, 18 Oct 2022 20:21:18 +0000 (14:21 -0600)
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>
tools/testing/selftests/memory-hotplug/mem-on-off-test.sh

index 74ee506..611be86 100755 (executable)
@@ -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