From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46382) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZLDIa-0002q5-QW for qemu-devel@nongnu.org; Fri, 31 Jul 2015 12:36:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZLDIU-000241-EA for qemu-devel@nongnu.org; Fri, 31 Jul 2015 12:36:44 -0400 Received: from mx1.redhat.com ([209.132.183.28]:37461) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZLDIU-00023m-71 for qemu-devel@nongnu.org; Fri, 31 Jul 2015 12:36:38 -0400 From: "Daniel P. Berrange" Date: Fri, 31 Jul 2015 17:30:59 +0100 Message-Id: <1438360263-25445-7-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 06/10] maint: remove unused include for signal.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 signal.h but not using any of the functions it provides Signed-off-by: Daniel P. Berrange --- bsd-user/signal.c | 1 - cfg.mk | 1 - hw/block/xen_disk.c | 1 - hw/net/xen_nic.c | 1 - hw/usb/redirect.c | 1 - os-win32.c | 1 - target-i386/translate.c | 1 - target-mips/helper.c | 1 - target-sh4/helper.c | 1 - target-tricore/helper.c | 1 - tests/tcg/testthread.c | 1 - 11 files changed, 11 deletions(-) diff --git a/bsd-user/signal.c b/bsd-user/signal.c index 445f69e..e4ee2d0 100644 --- a/bsd-user/signal.c +++ b/bsd-user/signal.c @@ -21,7 +21,6 @@ #include #include #include -#include #include #include "qemu.h" diff --git a/cfg.mk b/cfg.mk index ab7ff11..dddc544 100644 --- a/cfg.mk +++ b/cfg.mk @@ -57,7 +57,6 @@ local-checks-to-skip = \ sc_prohibit_path_max_allocation \ sc_prohibit_quotearg_without_use \ sc_prohibit_quote_without_use \ - sc_prohibit_signal_without_use \ sc_prohibit_S_IS_definition \ sc_prohibit_stat_st_blocks \ sc_prohibit_strcmp \ diff --git a/hw/block/xen_disk.c b/hw/block/xen_disk.c index 267d8a8..36d7398 100644 --- a/hw/block/xen_disk.c +++ b/hw/block/xen_disk.c @@ -24,7 +24,6 @@ #include #include #include -#include #include #include #include diff --git a/hw/net/xen_nic.c b/hw/net/xen_nic.c index d7cbfc1..0da16b4 100644 --- a/hw/net/xen_nic.c +++ b/hw/net/xen_nic.c @@ -24,7 +24,6 @@ #include #include #include -#include #include #include #include diff --git a/hw/usb/redirect.c b/hw/usb/redirect.c index 34cf60d..38086cd 100644 --- a/hw/usb/redirect.c +++ b/hw/usb/redirect.c @@ -34,7 +34,6 @@ #include "sysemu/char.h" #include -#include #include #include diff --git a/os-win32.c b/os-win32.c index c0daf8e..cc09196 100644 --- a/os-win32.c +++ b/os-win32.c @@ -26,7 +26,6 @@ #include #include #include -#include #include #include #include diff --git a/target-i386/translate.c b/target-i386/translate.c index 82e2245..b1a5ad9 100644 --- a/target-i386/translate.c +++ b/target-i386/translate.c @@ -21,7 +21,6 @@ #include #include #include -#include #include "qemu/host-utils.h" #include "cpu.h" diff --git a/target-mips/helper.c b/target-mips/helper.c index 04ba19f..a323277 100644 --- a/target-mips/helper.c +++ b/target-mips/helper.c @@ -21,7 +21,6 @@ #include #include #include -#include #include "cpu.h" #include "sysemu/kvm.h" diff --git a/target-sh4/helper.c b/target-sh4/helper.c index a533f08..dc101cb 100644 --- a/target-sh4/helper.c +++ b/target-sh4/helper.c @@ -21,7 +21,6 @@ #include #include #include -#include #include "cpu.h" diff --git a/target-tricore/helper.c b/target-tricore/helper.c index f52504c..1808b28 100644 --- a/target-tricore/helper.c +++ b/target-tricore/helper.c @@ -20,7 +20,6 @@ #include #include #include -#include #include "cpu.h" diff --git a/tests/tcg/testthread.c b/tests/tcg/testthread.c index 2679af1..810ba5d 100644 --- a/tests/tcg/testthread.c +++ b/tests/tcg/testthread.c @@ -2,7 +2,6 @@ #include #include #include -#include #include #include #include -- 2.4.3