From patchwork Wed Oct 4 09:25:08 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 1843208 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=IYHnlVjo; dkim-atps=neutral Authentication-Results: legolas.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=patchwork.ozlabs.org) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4S0q7Q5ssSz1yng for ; Wed, 4 Oct 2023 20:26:10 +1100 (AEDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qny8B-0000GM-K0; Wed, 04 Oct 2023 05:25:23 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qny8A-0000Fy-8v for qemu-devel@nongnu.org; Wed, 04 Oct 2023 05:25:22 -0400 Received: from mail-wr1-x436.google.com ([2a00:1450:4864:20::436]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qny88-0006WX-Q9 for qemu-devel@nongnu.org; Wed, 04 Oct 2023 05:25:22 -0400 Received: by mail-wr1-x436.google.com with SMTP id ffacd0b85a97d-307d20548adso1734498f8f.0 for ; Wed, 04 Oct 2023 02:25:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1696411518; x=1697016318; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=RRWPGyvamS9BaoZFO7yButK2HqJrbjFh2qkgdvEVg64=; b=IYHnlVjo/fO8K868lxPmwQ6lwq7ZbvUEDXbT9vALQDu0snFXK6zYHoDaNLBBR5Y80x dYo1j5G8apdbO+X3GWqEsLzTQe1hPRVSwUCD15fSPC8/YmbbxAdXWU+Rs96oofp8cye5 Lu6CtY21n/P7r4RyIAVs8bLN6X5Rupt+leRoUSQzyL3fg4FJ4Jus9dDYYREfVe8Omohg kongmMm+0Lq6dFVAmlHglS4mSC1oidjrZPJ5V/cPXy3ahFk2xrCPCRCEuZLed/b24ZHV 4NvsFb67Ax+/cVUkYQs8o/oPD4QXIpp/yavD+1l7kU0lcGpfLC9UZkw3wolOjNqambpo mYEg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696411518; x=1697016318; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=RRWPGyvamS9BaoZFO7yButK2HqJrbjFh2qkgdvEVg64=; b=GcY39I4VhtHh0PKzDFBu7+A7bTkdtr4wMzdffTdq/72o1Y5+8zWVAjISZe+0HPDf/m JaKccAedI8jOmg1+seSHFgQj3AVmN68YNWnt81WFF+wJoRzfJLq44vWtrEgYcCjjIh+u tCfQ7T3Z5H85Ay+E/i0Hz0LTomZ8orD1lBgjgwMA3Sf6Ly/xBMNhroQFHipFLelwx/YI P5PTCy+88dwLhTz4RwFx/v2rCHgUOdHsSytIEG00kK9SsPvgV+1snOgdx2EM39V4UyIG /QNc/xFshLwYl9VvU1EmOEbHjUrMC2dSrTkr9iPRFxUMhoTF1A2375fgepSXspwzO+0O U13g== X-Gm-Message-State: AOJu0Yx1d5sETRS/XffHM3cxbdEKsaMDzmaPRqi9NETXwvXMvTKHQhJm e5nDe7YG3buYuIn5RaySYx4tNvPvvWqMYo4EbEs= X-Google-Smtp-Source: AGHT+IFuFZreDy3qyIlJHmh6DquPUSR5Mg4Q+rPsRUYNROq5KORSMHqS5Bb14nM/PABFsF2U8Ri+bw== X-Received: by 2002:adf:ea4c:0:b0:320:bae:2dfd with SMTP id j12-20020adfea4c000000b003200bae2dfdmr1625172wrn.5.1696411518596; Wed, 04 Oct 2023 02:25:18 -0700 (PDT) Received: from m1x-phil.lan (5ep85-h01-176-173-163-52.dslam.bbox.fr. [176.173.163.52]) by smtp.gmail.com with ESMTPSA id j10-20020a5d464a000000b00317a04131c5sm3534791wrs.57.2023.10.04.02.25.17 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Wed, 04 Oct 2023 02:25:18 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Roman Bolshakov , Cameron Esfahani , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Roman Bolshakov Subject: [PATCH v2 1/2] target/i386/hvf: Remove unused includes in 'hvf-i386.h' Date: Wed, 4 Oct 2023 11:25:08 +0200 Message-ID: <20231004092510.39498-2-philmd@linaro.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20231004092510.39498-1-philmd@linaro.org> References: <20231004092510.39498-1-philmd@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::436; envelope-from=philmd@linaro.org; helo=mail-wr1-x436.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org The only non standard type -- CPUArchState -- is forward declared in "qemu/typedefs.h", so no particular header is required here. Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Roman Bolshakov Tested-by: Roman Bolshakov --- target/i386/hvf/hvf-i386.h | 6 ------ 1 file changed, 6 deletions(-) diff --git a/target/i386/hvf/hvf-i386.h b/target/i386/hvf/hvf-i386.h index 95b47c1c2e..243bc111cc 100644 --- a/target/i386/hvf/hvf-i386.h +++ b/target/i386/hvf/hvf-i386.h @@ -16,12 +16,6 @@ #ifndef HVF_I386_H #define HVF_I386_H -#include "qemu/accel.h" -#include "sysemu/hvf.h" -#include "sysemu/hvf_int.h" -#include "cpu.h" -#include "x86.h" - void hvf_handle_io(CPUArchState *, uint16_t, void *, int, int, int); /* Host specific functions */