KVM: selftests: Remove superfluous define from vmx.c
authorThomas Huth <thuth@redhat.com>
Thu, 18 Jul 2019 11:55:27 +0000 (13:55 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Sat, 20 Jul 2019 07:00:44 +0000 (09:00 +0200)
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>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
tools/testing/selftests/kvm/lib/x86_64/vmx.c

index fe56d159d65fdce045716a9fc49a0a4b205aa07e..204f847bd065a66b5569c3f209c4fb3725ae5064 100644 (file)
@@ -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"