Skip to contentSkip to conversation

KVM: selftests: Remove superfluous define from vmx.c

PATCH New Thomas Huth 1 participant 1 message Jul 18, 2019

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 KVM: selftests: Remove superfluous define from vmx.c

The code in vmx.c does not use "program_invocation_name", so there is no need to "#define _GNU_SOURCE" here.

---
 tools/testing/selftests/kvm/lib/x86_64/vmx.c | 2 --
 1 file changed, 2 deletions(-)
tools/testing/selftests/kvm/lib/x86_64/vmx.c +0 -2
index fe56d159d65f..204f847bd065 100644
@@ -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"
Signature · 1 line
2.21.0