From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45045) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZLDDc-0004JV-55 for qemu-devel@nongnu.org; Fri, 31 Jul 2015 12:31:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZLDDV-00083x-Ph for qemu-devel@nongnu.org; Fri, 31 Jul 2015 12:31:36 -0400 Received: from mx1.redhat.com ([209.132.183.28]:60418) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZLDDV-00083q-Jo for qemu-devel@nongnu.org; Fri, 31 Jul 2015 12:31:29 -0400 From: "Daniel P. Berrange" Date: Fri, 31 Jul 2015 17:31:00 +0100 Message-Id: <1438360263-25445-8-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 07/10] maint: remove unused include for strings.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 strings.h but not using any of the functions it provides Signed-off-by: Daniel P. Berrange --- cfg.mk | 1 - disas/microblaze.c | 1 - hw/pci/shpc.c | 1 - page_cache.c | 1 - tests/test-xbzrle.c | 1 - 5 files changed, 5 deletions(-) diff --git a/cfg.mk b/cfg.mk index dddc544..a429980 100644 --- a/cfg.mk +++ b/cfg.mk @@ -60,7 +60,6 @@ local-checks-to-skip = \ sc_prohibit_S_IS_definition \ sc_prohibit_stat_st_blocks \ sc_prohibit_strcmp \ - sc_prohibit_strings_without_use \ sc_prohibit_strncpy \ sc_prohibit_test_double_equal \ sc_prohibit_test_minus_ao \ diff --git a/disas/microblaze.c b/disas/microblaze.c index c14ab89..92cd4b1 100644 --- a/disas/microblaze.c +++ b/disas/microblaze.c @@ -582,7 +582,6 @@ static const char pvr_register_prefix[] = "rpvr"; #endif /* MICROBLAZE_OPC */ #include "disas/bfd.h" -#include #define get_field_rd(instr) get_field(instr, RD_MASK, RD_LOW) #define get_field_r1(instr) get_field(instr, RA_MASK, RA_LOW) diff --git a/hw/pci/shpc.c b/hw/pci/shpc.c index bfb4d31..d34fdf3 100644 --- a/hw/pci/shpc.c +++ b/hw/pci/shpc.c @@ -1,5 +1,4 @@ #include "qemu-common.h" -#include #include #include "qemu/range.h" #include "qemu/error-report.h" diff --git a/page_cache.c b/page_cache.c index cf8878d..a9eb076 100644 --- a/page_cache.c +++ b/page_cache.c @@ -15,7 +15,6 @@ #include #include #include -#include #include #include #include diff --git a/tests/test-xbzrle.c b/tests/test-xbzrle.c index b5ee8bb..1cd8cb7 100644 --- a/tests/test-xbzrle.c +++ b/tests/test-xbzrle.c @@ -13,7 +13,6 @@ #include #include #include -#include #include #include #include "qemu-common.h" -- 2.4.3