summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorAnand J2016-10-21 08:57:07 +0200
committerMichael Tokarev2016-10-28 17:17:24 +0200
commit814bb12a561d36aeb5ae4440ad43d2b0761d76da (patch)
tree93ac9947be6287e93b42353212d74e9bfc7efb8c /tests
parentscripts/clean-includes: added duplicate #include check (diff)
downloadqemu-814bb12a561d36aeb5ae4440ad43d2b0761d76da.tar.gz
qemu-814bb12a561d36aeb5ae4440ad43d2b0761d76da.tar.xz
qemu-814bb12a561d36aeb5ae4440ad43d2b0761d76da.zip
clean-up: removed duplicate #includes
Some files contain multiple #includes of the same header file. Removed most of those unnecessary duplicate entries using scripts/clean-includes. Reviewed-by: Thomas Huth <thuth@redhat.com> Signed-off-by: Anand J <anand.indukala@gmail.com> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'tests')
-rw-r--r--tests/crypto-tls-x509-helpers.h3
-rw-r--r--tests/vhost-user-test.c2
2 files changed, 0 insertions, 5 deletions
diff --git a/tests/crypto-tls-x509-helpers.h b/tests/crypto-tls-x509-helpers.h
index a8faa92bc0..921341c649 100644
--- a/tests/crypto-tls-x509-helpers.h
+++ b/tests/crypto-tls-x509-helpers.h
@@ -21,9 +21,6 @@
#include <gnutls/gnutls.h>
#include <gnutls/x509.h>
-#include <gnutls/gnutls.h>
-#include <gnutls/x509.h>
-
#if !(defined WIN32) && \
defined(CONFIG_TASN1) && \
(LIBGNUTLS_VERSION_NUMBER >= 0x020600)
diff --git a/tests/vhost-user-test.c b/tests/vhost-user-test.c
index a7f06291cb..8b10afbf10 100644
--- a/tests/vhost-user-test.c
+++ b/tests/vhost-user-test.c
@@ -22,8 +22,6 @@
#include "libqos/virtio-pci.h"
#include "qapi/error.h"
-#include "libqos/pci-pc.h"
-#include "libqos/virtio-pci.h"
#include "libqos/malloc-pc.h"
#include "hw/virtio/virtio-net.h"