KVM: selftests: Remove superfluous define from vmx.c
diff mbox series

Message ID 20190718115527.6996-1-thuth@redhat.com
State Mainlined
Commit 2417c87059b0f29535bcedf9360b94a0110bc3da
Headers show
Series
  • KVM: selftests: Remove superfluous define from vmx.c
Related show

Commit Message

Thomas Huth July 18, 2019, 11:55 a.m. UTC
The code in vmx.c does not use "program_invocation_name", so there
is no need to "#define _GNU_SOURCE" here.

Signed-off-by: Thomas Huth <thuth@redhat.com>
---
 tools/testing/selftests/kvm/lib/x86_64/vmx.c | 2 --
 1 file changed, 2 deletions(-)

Patch
diff mbox series

diff --git a/tools/testing/selftests/kvm/lib/x86_64/vmx.c b/tools/testing/selftests/kvm/lib/x86_64/vmx.c
index fe56d159d65f..204f847bd065 100644
--- a/tools/testing/selftests/kvm/lib/x86_64/vmx.c
+++ b/tools/testing/selftests/kvm/lib/x86_64/vmx.c
@@ -5,8 +5,6 @@ 
  * Copyright (C) 2018, Google LLC.
  */
 
-#define _GNU_SOURCE /* for program_invocation_name */
-
 #include "test_util.h"
 #include "kvm_util.h"
 #include "processor.h"