[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PULL 07/26] maint: remove unused include for dirent.h
From: |
Michael Tokarev |
Subject: |
[Qemu-devel] [PULL 07/26] maint: remove unused include for dirent.h |
Date: |
Fri, 11 Sep 2015 14:03:31 +0300 |
From: "Daniel P. Berrange" <address@hidden>
A number of files were including dirent.h but not using any
of the functions it provides
Signed-off-by: Daniel P. Berrange <address@hidden>
Reviewed-by: Markus Armbruster <address@hidden>
Signed-off-by: Michael Tokarev <address@hidden>
---
fsdev/virtio-9p-marshal.c | 1 -
hw/tpm/tpm_passthrough.c | 2 --
hw/usb/redirect.c | 1 -
hw/vfio/pci.c | 1 -
qemu-char.c | 1 -
5 files changed, 6 deletions(-)
diff --git a/fsdev/virtio-9p-marshal.c b/fsdev/virtio-9p-marshal.c
index 20f308b..7748d32 100644
--- a/fsdev/virtio-9p-marshal.c
+++ b/fsdev/virtio-9p-marshal.c
@@ -14,7 +14,6 @@
#include <glib.h>
#include <glib/gprintf.h>
#include <sys/types.h>
-#include <dirent.h>
#include <sys/time.h>
#include <utime.h>
#include <sys/uio.h>
diff --git a/hw/tpm/tpm_passthrough.c b/hw/tpm/tpm_passthrough.c
index 79a8f98..be160c1 100644
--- a/hw/tpm/tpm_passthrough.c
+++ b/hw/tpm/tpm_passthrough.c
@@ -22,8 +22,6 @@
* License along with this library; if not, see <http://www.gnu.org/licenses/>
*/
-#include <dirent.h>
-
#include "qemu-common.h"
#include "qapi/error.h"
#include "qemu/error-report.h"
diff --git a/hw/usb/redirect.c b/hw/usb/redirect.c
index 25df25f..34cf60d 100644
--- a/hw/usb/redirect.c
+++ b/hw/usb/redirect.c
@@ -33,7 +33,6 @@
#include "qemu/iov.h"
#include "sysemu/char.h"
-#include <dirent.h>
#include <sys/ioctl.h>
#include <signal.h>
#include <usbredirparser.h>
diff --git a/hw/vfio/pci.c b/hw/vfio/pci.c
index 4023d8e..5d02099 100644
--- a/hw/vfio/pci.c
+++ b/hw/vfio/pci.c
@@ -18,7 +18,6 @@
* Copyright (C) 2008, IBM, Muli Ben-Yehuda (address@hidden)
*/
-#include <dirent.h>
#include <linux/vfio.h>
#include <sys/ioctl.h>
#include <sys/mman.h>
diff --git a/qemu-char.c b/qemu-char.c
index d956f8d..fa65159 100644
--- a/qemu-char.c
+++ b/qemu-char.c
@@ -51,7 +51,6 @@
#include <netinet/in.h>
#include <net/if.h>
#include <arpa/inet.h>
-#include <dirent.h>
#include <netdb.h>
#include <sys/select.h>
#ifdef CONFIG_BSD
--
2.1.4
- [Qemu-devel] [PULL 25/26] hw/arm/spitz: Remove meaningless blank Property, (continued)
- [Qemu-devel] [PULL 25/26] hw/arm/spitz: Remove meaningless blank Property, Michael Tokarev, 2015/09/11
- [Qemu-devel] [PULL 17/26] Target-ppc: Remove unnecessary variable, Michael Tokarev, 2015/09/11
- [Qemu-devel] [PULL 10/26] maint: avoid useless "if (foo) free(foo)" pattern, Michael Tokarev, 2015/09/11
- [Qemu-devel] [PULL 05/26] maint: remove / fix many doubled words, Michael Tokarev, 2015/09/11
- [Qemu-devel] [PULL 26/26] virtio-vga: enable for i386, Michael Tokarev, 2015/09/11
- [Qemu-devel] [PULL 24/26] hw/gpio/zaurus: Remove meaningless blank Property, Michael Tokarev, 2015/09/11
- [Qemu-devel] [PULL 20/26] qapi-schema: remove legacy<> from doc, Michael Tokarev, 2015/09/11
- [Qemu-devel] [PULL 03/26] i6300esb: fix timer overflow, Michael Tokarev, 2015/09/11
- [Qemu-devel] [PULL 04/26] maint: remove double semicolons in many files, Michael Tokarev, 2015/09/11
- [Qemu-devel] [PULL 21/26] typofixes - v4, Michael Tokarev, 2015/09/11
- [Qemu-devel] [PULL 07/26] maint: remove unused include for dirent.h,
Michael Tokarev <=
- [Qemu-devel] [PULL 18/26] help: dd missing newline, Michael Tokarev, 2015/09/11
- [Qemu-devel] [PULL 11/26] maint: avoid useless "if (foo) free(foo)" pattern, Michael Tokarev, 2015/09/11
- [Qemu-devel] [PULL 12/26] trivial: remove trailing newline from error_report, Michael Tokarev, 2015/09/11
- [Qemu-devel] [PULL 16/26] baum: Fix build with debugging enabled, Michael Tokarev, 2015/09/11
- [Qemu-devel] [PULL 23/26] hw/virtio/virtio-pci: Remove meaningless blank Property, Michael Tokarev, 2015/09/11
- [Qemu-devel] [PULL 22/26] hw/s390x/s390-virtio-bus: Remove meaningless blank Property, Michael Tokarev, 2015/09/11
- [Qemu-devel] [PULL 08/26] maint: remove unused include for signal.h, Michael Tokarev, 2015/09/11
- [Qemu-devel] [PULL 02/26] Trivial: fix commandline help message, Michael Tokarev, 2015/09/11
- [Qemu-devel] [PULL 19/26] disas/microblaze: Remove unused code, Michael Tokarev, 2015/09/11
- [Qemu-devel] [PULL 14/26] opts: produce valid command line in qemu_opts_print, Michael Tokarev, 2015/09/11