From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46378) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZLDIa-0002q0-AO for qemu-devel@nongnu.org; Fri, 31 Jul 2015 12:36:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZLDIU-00023u-C1 for qemu-devel@nongnu.org; Fri, 31 Jul 2015 12:36:44 -0400 Received: from mx1.redhat.com ([209.132.183.28]:37460) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZLDIU-00023o-7E for qemu-devel@nongnu.org; Fri, 31 Jul 2015 12:36:38 -0400 From: "Daniel P. Berrange" Date: Fri, 31 Jul 2015 17:30:58 +0100 Message-Id: <1438360263-25445-6-git-send-email-berrange@redhat.com> In-Reply-To: <1438360263-25445-1-git-send-email-berrange@redhat.com> References: <1438360263-25445-1-git-send-email-berrange@redhat.com> Subject: [Qemu-devel] [PATCH RFC 05/10] maint: remove unused include for dirent.h List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Peter Maydell A number of files were including dirent.h but not using any of the functions it provides Signed-off-by: Daniel P. Berrange --- cfg.mk | 1 - 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 - 6 files changed, 7 deletions(-) diff --git a/cfg.mk b/cfg.mk index 51442a8..ab7ff11 100644 --- a/cfg.mk +++ b/cfg.mk @@ -50,7 +50,6 @@ local-checks-to-skip = \ sc_prohibit_always_true_header_tests \ sc_prohibit_atoi_atof \ sc_prohibit_cvs_keyword \ - sc_prohibit_dirent_without_use \ sc_prohibit_empty_lines_at_EOF \ sc_prohibit_hash_without_use \ sc_prohibit_jm_in_m4 \ 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 #include #include -#include #include #include #include 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 */ -#include - #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 #include #include #include 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 (muli@il.ibm.com) */ -#include #include #include #include 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 #include #include -#include #include #include #ifdef CONFIG_BSD -- 2.4.3