From patchwork Mon Mar 9 15:08:28 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Laurent Vivier X-Patchwork-Id: 1251611 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=nongnu.org (client-ip=209.51.188.17; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=vivier.eu Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 48bhpX2dRDz9sPg for ; Tue, 10 Mar 2020 02:24:20 +1100 (AEDT) Received: from localhost ([::1]:44810 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jBKGQ-0002pB-7o for incoming@patchwork.ozlabs.org; Mon, 09 Mar 2020 11:24:18 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34237) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jBK3C-0000mD-5B for qemu-devel@nongnu.org; Mon, 09 Mar 2020 11:10:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jBK3A-0008G6-W7 for qemu-devel@nongnu.org; Mon, 09 Mar 2020 11:10:38 -0400 Received: from mout.kundenserver.de ([212.227.17.24]:43417) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jBK2x-00084l-V5; Mon, 09 Mar 2020 11:10:24 -0400 Received: from localhost.localdomain ([82.252.135.106]) by mrelayeu.kundenserver.de (mreue109 [212.227.15.183]) with ESMTPSA (Nemesis) id 1MsYzF-1jUuUL3qrz-00u1cL; Mon, 09 Mar 2020 16:09:39 +0100 From: Laurent Vivier To: qemu-devel@nongnu.org Subject: [PULL 24/33] hw/pci-host/q35: Remove unused includes Date: Mon, 9 Mar 2020 16:08:28 +0100 Message-Id: <20200309150837.3193387-25-laurent@vivier.eu> X-Mailer: git-send-email 2.24.1 In-Reply-To: <20200309150837.3193387-1-laurent@vivier.eu> References: <20200309150837.3193387-1-laurent@vivier.eu> MIME-Version: 1.0 X-Provags-ID: V03:K1:cqGUVqFz0+KF0LRi5VIcZbqyx9M9UPXIN5Kzt7Yg9my36JVWn+c 3xKXP80eZcQkj68NSZTcOVQ30pZZ//ES7vNkf9sRCEMaboosQE6zsxUEGnifBI/WW9UmHBn /YiJBDWEXx7tF9Y9o2aYz+o5Xj9VNWjFaOtdQdMdYtatk9rocHb3tUsU5c/EvXgwAWgUsKm VcJFJprz7zRHUZ8+x5Wqw== X-UI-Out-Filterresults: notjunk:1; V03:K0:AbVoaywEwjI=:qChUKr5HtGVoYie9+YZsVx Fpz+LcsOPQEqq4wUTLn4dq+W8yIbgMW/lsg19TnlJ5Hh+6vElXi6rD+7Xccm8DeFpM4/z51pU ZPufQ29RR4rfyQk/bfyF/Ul47avG078JjTFuC58vEqA35agdzhomSjRPySYl9mJVVKPgOvxV8 5lQ+mUcdyiUmUBczZVuKUVDfJTNJca31HmQ59EUPAryaj27yohW6LSG5H7gCg2yBHn4WmGGsW j3JjwXijJ5J+80A2f0tiY9O+622r7BH5bin0gJtUI7HDUBRbQrP+/dw6b3FXCYUaLomWW1bKO +FqwvO9fc6D9G+VSWwEGztLnlv0/o6XCK1+OIHA/GHfomIjOXwGrYSUL7Mui2F6Rg2OD3iwFj zu/LlNVyK+SgExF3STssCpUpQxLv/NMvT3lMU93VRcmmZKPDpc/ga4/iBOP4gh4E7o2oPl2yp VEtX7lP4DqZSSztsRVEsoRJfA7ZI9GcPympQ0WuLie1/9+CuiRYsfBHuaF5eoIfeG64bgINBy 6HAIo8x1zGWrV3o0FYEeTBHlS4s+iMKoJAzDNfZG8IIt5yBYvKhdDGwQBZW5szQB/VLajbjh7 wN7UUc/qHIyT8rSFDtcH2Zw7vCbEF84sHJqJ6MxXiODvkLGh7XNLHSFI8GNJJyTuU6HM2kM9T rFMmKHfv0hcwzcKj/UlrLOaW+X6+Vi0OTWhIZIc8/eZWjOW5+nx7c3OFpQkeXfMGv774+Qvvm qH6ThHfLlEk/6l7gsUZZwtfrkGF5iWJ6QoxmB8VACN1SpxLykGC0RjWTTH7f7tZtf6GwVS0j/ 4iQyfVYZEaYKPWRvj05xB5FJCzyAzFAkNW5StpNg9ZY4O/SsrOcA1ASxqJ5N0DDPf+BYlj/ X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 212.227.17.24 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Fam Zheng , Peter Maydell , Dmitry Fleytman , "Michael S. Tsirkin" , Jason Wang , Christian Schoenebeck , Gerd Hoffmann , "Edgar E. Iglesias" , qemu-block@nongnu.org, qemu-trivial@nongnu.org, Helge Deller , =?utf-8?q?Phil?= =?utf-8?q?ippe_Mathieu-Daud=C3=A9?= , Eduardo Habkost , Michael Tokarev , Alistair Francis , Richard Henderson , Greg Kurz , "Dr. David Alan Gilbert" , qemu-arm@nongnu.org, Paolo Bonzini , John Snow , Richard Henderson , Kevin Wolf , =?utf-8?q?Daniel_P?= =?utf-8?b?LiBCZXJyYW5nw6k=?= , Igor Mitsyanko , Laurent Vivier , Max Reitz , Aleksandar Markovic , Igor Mammedov , Aurelien Jarno Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" From: Philippe Mathieu-Daudé Only q35.c requires declarations from "hw/i386/pc.h", move it there. Remove all the includes not used by "q35.h". Acked-by: John Snow Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Richard Henderson Message-Id: <20200228114649.12818-18-philmd@redhat.com> Signed-off-by: Laurent Vivier --- hw/pci-host/q35.c | 1 + include/hw/pci-host/q35.h | 7 ------- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/hw/pci-host/q35.c b/hw/pci-host/q35.c index a9b9ccc87657..993f467668dc 100644 --- a/hw/pci-host/q35.c +++ b/hw/pci-host/q35.c @@ -29,6 +29,7 @@ */ #include "qemu/osdep.h" +#include "hw/i386/pc.h" #include "hw/pci-host/q35.h" #include "hw/qdev-properties.h" #include "migration/vmstate.h" diff --git a/include/hw/pci-host/q35.h b/include/hw/pci-host/q35.h index 47086c645e9f..070305f83dfd 100644 --- a/include/hw/pci-host/q35.h +++ b/include/hw/pci-host/q35.h @@ -22,16 +22,9 @@ #ifndef HW_Q35_H #define HW_Q35_H -#include "hw/isa/isa.h" -#include "hw/sysbus.h" -#include "hw/i386/pc.h" -#include "hw/isa/apm.h" #include "hw/pci/pci.h" #include "hw/pci/pcie_host.h" -#include "hw/acpi/acpi.h" -#include "hw/acpi/ich9.h" #include "hw/pci-host/pam.h" -#include "hw/i386/intel_iommu.h" #include "qemu/units.h" #include "qemu/range.h"