From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46385) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZLDIa-0002q6-TH 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-000246-Dz for qemu-devel@nongnu.org; Fri, 31 Jul 2015 12:36:44 -0400 Received: from mx1.redhat.com ([209.132.183.28]:37458) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZLDIU-00023l-79 for qemu-devel@nongnu.org; Fri, 31 Jul 2015 12:36:38 -0400 From: "Daniel P. Berrange" Date: Fri, 31 Jul 2015 17:30:57 +0100 Message-Id: <1438360263-25445-5-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 04/10] maint: remove unused include for assert.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 assert.h but not using any of the functions it provides Signed-off-by: Daniel P. Berrange --- cfg.mk | 1 - disas/ia64.c | 1 - hw/i386/xen/xen_platform.c | 2 -- linux-user/signal.c | 1 - target-microblaze/op_helper.c | 1 - target-moxie/helper.c | 1 - target-moxie/translate.c | 1 - target-sh4/op_helper.c | 1 - tests/test-xbzrle.c | 1 - 9 files changed, 10 deletions(-) diff --git a/cfg.mk b/cfg.mk index d7c118c..51442a8 100644 --- a/cfg.mk +++ b/cfg.mk @@ -48,7 +48,6 @@ local-checks-to-skip = \ sc_preprocessor_indentation \ sc_program_name \ sc_prohibit_always_true_header_tests \ - sc_prohibit_assert_without_use \ sc_prohibit_atoi_atof \ sc_prohibit_cvs_keyword \ sc_prohibit_dirent_without_use \ diff --git a/disas/ia64.c b/disas/ia64.c index a8fe26c..d7c7bdf 100644 --- a/disas/ia64.c +++ b/disas/ia64.c @@ -18,7 +18,6 @@ along with this file; see the file COPYING. If not, see . */ -#include #include #include "disas/bfd.h" diff --git a/hw/i386/xen/xen_platform.c b/hw/i386/xen/xen_platform.c index 28b324a..ee45f03 100644 --- a/hw/i386/xen/xen_platform.c +++ b/hw/i386/xen/xen_platform.c @@ -23,8 +23,6 @@ * THE SOFTWARE. */ -#include - #include "hw/hw.h" #include "hw/i386/pc.h" #include "hw/ide.h" diff --git a/linux-user/signal.c b/linux-user/signal.c index 9d4cef4..502efd9 100644 --- a/linux-user/signal.c +++ b/linux-user/signal.c @@ -22,7 +22,6 @@ #include #include #include -#include #include #include diff --git a/target-microblaze/op_helper.c b/target-microblaze/op_helper.c index d2b3624..092c4b5 100644 --- a/target-microblaze/op_helper.c +++ b/target-microblaze/op_helper.c @@ -18,7 +18,6 @@ * License along with this library; if not, see . */ -#include #include "cpu.h" #include "exec/helper-proto.h" #include "qemu/host-utils.h" diff --git a/target-moxie/helper.c b/target-moxie/helper.c index f21e884..f91ac28 100644 --- a/target-moxie/helper.c +++ b/target-moxie/helper.c @@ -19,7 +19,6 @@ #include #include -#include #include "config.h" #include "cpu.h" diff --git a/target-moxie/translate.c b/target-moxie/translate.c index e3e9139..cc77366 100644 --- a/target-moxie/translate.c +++ b/target-moxie/translate.c @@ -26,7 +26,6 @@ #include #include #include -#include #include "cpu.h" #include "exec/exec-all.h" diff --git a/target-sh4/op_helper.c b/target-sh4/op_helper.c index cbc11ae..a312118 100644 --- a/target-sh4/op_helper.c +++ b/target-sh4/op_helper.c @@ -16,7 +16,6 @@ * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, see . */ -#include #include #include "cpu.h" #include "exec/helper-proto.h" diff --git a/tests/test-xbzrle.c b/tests/test-xbzrle.c index db93b0a..b5ee8bb 100644 --- a/tests/test-xbzrle.c +++ b/tests/test-xbzrle.c @@ -16,7 +16,6 @@ #include #include #include -#include #include "qemu-common.h" #include "include/migration/migration.h" -- 2.4.3