KVM: selftests: Remove redundant setbuf()
authorShaoqin Huang <shahuang@redhat.com>
Fri, 3 Feb 2023 06:10:36 +0000 (14:10 +0800)
committerOliver Upton <oliver.upton@linux.dev>
Fri, 3 Feb 2023 21:26:48 +0000 (21:26 +0000)
commit6043829fdb714f050ba5117044dbd1384865286c
treecf3dbf297f4d5bcc44b62928931391628cfffaea
parent242b6f34b5b51ec151dc3abafd16edb1f685bb3c
KVM: selftests: Remove redundant setbuf()

Since setbuf(stdout, NULL) has been called in kvm_util.c with
__attribute((constructor)). Selftests no need to setup it in their own
code.

Signed-off-by: Shaoqin Huang <shahuang@redhat.com>
Reviewed-by: Sean Christopherson <seanjc@google.com>
Link: https://lore.kernel.org/r/20230203061038.277655-1-shahuang@redhat.com
Signed-off-by: Oliver Upton <oliver.upton@linux.dev>
tools/testing/selftests/kvm/aarch64/page_fault_test.c
tools/testing/selftests/kvm/x86_64/exit_on_emulation_failure_test.c