From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) by sourceware.org (Postfix) with ESMTP id 6846E3858D1E for ; Fri, 23 Dec 2022 05:58:53 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 6846E3858D1E Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gentoo.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gentoo.org Received: by smtp.gentoo.org (Postfix, from userid 559) id F229B34138B; Fri, 23 Dec 2022 05:58:52 +0000 (UTC) From: Mike Frysinger To: gdb-patches@sourceware.org Subject: [PATCH] sim: lm32/m32r: drop redundant opcode/cgen.h include Date: Fri, 23 Dec 2022 00:58:47 -0500 Message-Id: <20221223055847.22341-1-vapier@gentoo.org> X-Mailer: git-send-email 2.39.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-11.1 required=5.0 tests=BAYES_00,GIT_PATCH_0,JMQ_SPF_NEUTRAL,KAM_DMARC_STATUS,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: The xxx-desc.h header file already includes this, and it's how the other cgen ports are getting it, so drop it from these two. --- sim/lm32/sim-main.h | 1 - sim/m32r/sim-main.h | 1 - 2 files changed, 2 deletions(-) diff --git a/sim/lm32/sim-main.h b/sim/lm32/sim-main.h index 0e13aeb6758b..ce30349e71af 100644 --- a/sim/lm32/sim-main.h +++ b/sim/lm32/sim-main.h @@ -32,7 +32,6 @@ #include "sim-base.h" #include "cgen-sim.h" #include "lm32-sim.h" -#include "opcode/cgen.h" struct lm32_sim_cpu { diff --git a/sim/m32r/sim-main.h b/sim/m32r/sim-main.h index a5a745d15bcf..70962320dfc7 100644 --- a/sim/m32r/sim-main.h +++ b/sim/m32r/sim-main.h @@ -15,7 +15,6 @@ #include "sim-base.h" #include "cgen-sim.h" #include "m32r-sim.h" -#include "opcode/cgen.h" struct m32r_sim_cpu { M32R_MISC_PROFILE m32r_misc_profile; -- 2.39.0