From patchwork Fri Oct 19 10:18:55 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hongbo Zhang X-Patchwork-Id: 149245 Delivered-To: patch@linaro.org Received: by 2002:a2e:8595:0:0:0:0:0 with SMTP id b21-v6csp3113532lji; Fri, 19 Oct 2018 03:19:25 -0700 (PDT) X-Google-Smtp-Source: ACcGV62uutrLZdKmTUVz6/ZoTZFBZwP2qaQtwYqaZ5IBszYbrukOXxx/XD4NsB7pKb1v53JX4iCZ X-Received: by 2002:a37:ba44:: with SMTP id k65-v6mr23183579qkf.239.1539944365666; Fri, 19 Oct 2018 03:19:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539944365; cv=none; d=google.com; s=arc-20160816; b=UQMaSE7NyehvAYaUoVuewFAwbxo4EbEFN6ZcQ5H9P3gq17eo46nZWY8wU9R+7g2YJW hfQY/CYcWFZicB8FH4/ogQl28RCW31g3pGso1Vi8JGAzs4Tgoz0xhAl1tE0oQoP7Bis3 xrjfp84+v52Dd5iwAyT/LVD7b5T8/VBnQsSd3I+KJO+np7wLzmnuKYwd5WXHEU2zGLBI LwNQqpDVaYwxoZlDkqU9luBx3XkJa1/hkYYq+S/6sn/MT3VBrWjPnPMloX7BOURy4Mbt BgFJWyxw6YOa28NsB8c3uYjB3Vkm4Q7huYTGfs37loL7x8Z+5OI9MzHTPKvOYkNTY6m4 UO8A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:message-id:date:to:from :dkim-signature; bh=CuYZs8sM1oUptLtvGrZa+aFo2PdAiLJso0r/SM01ssw=; b=a3NfHR+GyBG3iguEkzvPghkLC8DFdGzx1ZR4TEaG6S0ku9A673F2xs85l7dHopwsG0 2HQVo5P6sJNdR444S5A2UtZzncfzxkW1qDMfTbVTMz7m55nqV7KSwy1UDpv0qwaLG25v sL4hH7LG1Qloqe+DCyF3z/a3pr3oiPoB6KpByzUpLa6b+z0jXD54bOVHdGEP/krqh3VY 5Mneo3wLItOYmxkbS+cteouMORq+Yi2tCtQLMGclUB6VTsPGnm/BAlmvwFQnya1nM3fA rTg1tn+2F66v9tiluEqxIiAFjWuoEkhbOHfwP+fNZ7Yz9x5q9/8tDRocrzj388u25sZD VwIg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=i+q91IGd; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id o45si328900qvh.10.2018.10.19.03.19.25 for (version=TLS1 cipher=AES128-SHA bits=128/128); Fri, 19 Oct 2018 03:19:25 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) client-ip=2001:4830:134:3::11; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=i+q91IGd; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:48355 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gDRsL-0002KD-60 for patch@linaro.org; Fri, 19 Oct 2018 06:19:25 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48214) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gDRs6-0002JZ-8Z for qemu-devel@nongnu.org; Fri, 19 Oct 2018 06:19:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gDRs2-0008L3-6p for qemu-devel@nongnu.org; Fri, 19 Oct 2018 06:19:10 -0400 Received: from mail-pl1-x642.google.com ([2607:f8b0:4864:20::642]:41121) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gDRs1-0008Gu-8k for qemu-devel@nongnu.org; Fri, 19 Oct 2018 06:19:06 -0400 Received: by mail-pl1-x642.google.com with SMTP id p5-v6so767866plq.8 for ; Fri, 19 Oct 2018 03:19:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=CuYZs8sM1oUptLtvGrZa+aFo2PdAiLJso0r/SM01ssw=; b=i+q91IGdPUZKiZTuYwrzVpanhgOTq7RE7EtJ17hAkGRXlbTopfZeV+9ErOy5Vb32GC N6XZsnC0FQ4k1Pf5T5wHLUumO0pa00AgEbvrHKMX9xLc3iGCZTmLss+NygRmHs2bFY4y CG6reSy6URVpYFKLVrkgOaWtKdjLwtNYbkat8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=CuYZs8sM1oUptLtvGrZa+aFo2PdAiLJso0r/SM01ssw=; b=KiBBSkCvZ64qyErapje6YpQQaMA4aaIWzJMJTgQJrjw2fIvHiRtc85OGyvOaZPCurA dBICwbs4gFKycMLPzVnvyoczTSJcZA/QNF54fZDnGBUedfvfKxF+127ErAnhwz0dxMlH PrasN7WJ4OhQZHucKbwyR56SyGKk/ZX+9Exb9VZRouDN1+IuYvF3YfM+85Gfmk+QkYBF fgMg7TsyN9oV4vpiNItXnAq+Cpo1PcnIzklsgJ1gSY3TVF4/TH3FgtJ3GZboSlsQ2g9V meHq7qafeyiEpp+0E57Jr6VIFz8dC+i5+weiIvDjxkjxjigirjk5EP+GqlgecZH8FSwV Lr0A== X-Gm-Message-State: ABuFfojcuGGEZxZShoICPVzJx7emTtxBh7tvTw3Xwp03cTy3PE8uda5X kiSBGvVV1y9EXaThc/WbvXABGQ== X-Received: by 2002:a17:902:20c5:: with SMTP id v5-v6mr33260243plg.62.1539944343522; Fri, 19 Oct 2018 03:19:03 -0700 (PDT) Received: from localhost.localdomain ([45.56.155.225]) by smtp.gmail.com with ESMTPSA id f193-v6sm33220731pfc.74.2018.10.19.03.19.00 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 19 Oct 2018 03:19:02 -0700 (PDT) From: Hongbo Zhang To: peter.maydell@linaro.org, alex.bennee@linaro.org, qemu-devel@nongnu.org, qemu-arm@nongnu.org Date: Fri, 19 Oct 2018 18:18:55 +0800 Message-Id: <1539944335-19556-1-git-send-email-hongbo.zhang@linaro.org> X-Mailer: git-send-email 2.7.4 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::642 Subject: [Qemu-devel] [PATCH] hw/arm/virt: remove unused header files X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Hongbo Zhang Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" Remove the unused herder files, 'virt' can be compiled and run without including them. Signed-off-by: Hongbo Zhang --- hw/arm/virt.c | 8 -------- 1 file changed, 8 deletions(-) -- 2.7.4 diff --git a/hw/arm/virt.c b/hw/arm/virt.c index 9f67782..f0066cb 100644 --- a/hw/arm/virt.c +++ b/hw/arm/virt.c @@ -30,9 +30,6 @@ #include "qemu/osdep.h" #include "qapi/error.h" -#include "hw/sysbus.h" -#include "hw/arm/arm.h" -#include "hw/arm/primecell.h" #include "hw/arm/virt.h" #include "hw/vfio/vfio-calxeda-xgmac.h" #include "hw/vfio/vfio-amd-xgbe.h" @@ -41,12 +38,9 @@ #include "net/net.h" #include "sysemu/device_tree.h" #include "sysemu/numa.h" -#include "sysemu/sysemu.h" #include "sysemu/kvm.h" #include "hw/compat.h" #include "hw/loader.h" -#include "exec/address-spaces.h" -#include "qemu/bitops.h" #include "qemu/error-report.h" #include "hw/pci-host/gpex.h" #include "hw/arm/sysbus-fdt.h" @@ -56,9 +50,7 @@ #include "hw/intc/arm_gicv3_common.h" #include "kvm_arm.h" #include "hw/smbios/smbios.h" -#include "qapi/visitor.h" #include "standard-headers/linux/input.h" -#include "hw/arm/smmuv3.h" #define DEFINE_VIRT_MACHINE_LATEST(major, minor, latest) \ static void virt_##major##_##minor##_class_init(ObjectClass *oc, \