From nobody Tue Nov 26 20:25:14 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass header.i=@intel.com; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=linux.intel.com ARC-Seal: i=1; a=rsa-sha256; t=1705390486; cv=none; d=zohomail.com; s=zohoarc; b=ajdp0x9tupII7B5QnEbPnDipTgksg/ts0nOXhlvqepDECX9IjE2PfDNetnL7VVLZWe1uKj+cybTWdCxH35YrIT6UnxlsECxyPywlOhdOXSPcLH93IoepkU0VqvohBlJyD2C8sxBR8u5YlnkiAq+Ig1pa7pqY6GQpM4V4sFHTY9o= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1705390486; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=+YT9+lnZKaZj6986xEV812l/ShjH+jItKqJbvWv8rlw=; b=BuqXq3f6xkYNQlrYF1i47hLcoyyseQM9QK2eFeKpIZhhD2Gdp9pnwy5N2251Do8qTQzdaTqggC/SGUbnBBD+modAxt/ZAodQMrXTb5TzDNp1Vd4Fan8jbaJbKLaZO1I6VtSz3hJkOvYahg1rr1nf6sw3DF+WnyqXtepD/0H2Tjk= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=@intel.com; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1705390486314928.3309415735052; Mon, 15 Jan 2024 23:34:46 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rPdxn-0000Ou-BQ; Tue, 16 Jan 2024 02:34:23 -0500 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 1rPdxd-00009p-M5 for qemu-devel@nongnu.org; Tue, 16 Jan 2024 02:34:14 -0500 Received: from mgamail.intel.com ([198.175.65.13]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rPdxc-00046E-0O for qemu-devel@nongnu.org; Tue, 16 Jan 2024 02:34:13 -0500 Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orvoesa105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Jan 2024 23:34:11 -0800 Received: from liuzhao-optiplex-7080.sh.intel.com ([10.239.160.36]) by fmsmga004.fm.intel.com with ESMTP; 15 Jan 2024 23:34:09 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1705390452; x=1736926452; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=LZ4YwLh7xZ5qCSwDHmL43Wtq67cj+xVfFSjMvsxICkg=; b=LSaAXnLYyrMKknVV+sbDAbcjyHS1kjin0ltUaWKwetbZq5/EJKI0YktM HzMT5KfThHS9sjYNn+MPgelmlZ4r90fEAabimJNrnbyT/mUPamvCa4wyS hKoOo3J+cklVGzdkZac5vgEI3NRrbDsCEKST+HUhRXVUEGkcRUVY3B8ZO DdiDwCqOW7Pvmd7LvdsC87KjkChEqdiVqljVPZ4YGhXzjSaTwdB5D5WKI 7hhaTmjJehV7ZEh1gW7OGV6WDKXUnlP7VyzgS4O8rR1pRT7q1MB9rJ022 aZ39486THIZIU0BnS1itFwK16IIrKERV+HfSuA7cd4ueiHpM8hM5dojST Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10954"; a="6875788" X-IronPort-AV: E=Sophos;i="6.04,198,1695711600"; d="scan'208";a="6875788" X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10954"; a="854266434" X-IronPort-AV: E=Sophos;i="6.04,198,1695711600"; d="scan'208";a="854266434" From: Zhao Liu To: Eduardo Habkost , Marcel Apfelbaum , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Yanan Wang , Peter Maydell Cc: qemu-devel@nongnu.org, Zhao Liu Subject: [PATCH v2 8/9] hw/core: Cleanup unused included headers in numa.c Date: Tue, 16 Jan 2024 15:46:46 +0800 Message-Id: <20240116074647.3644821-9-zhao1.liu@linux.intel.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240116074647.3644821-1-zhao1.liu@linux.intel.com> References: <20240116074647.3644821-1-zhao1.liu@linux.intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: none client-ip=198.175.65.13; envelope-from=zhao1.liu@linux.intel.com; helo=mgamail.intel.com X-Spam_score_int: -34 X-Spam_score: -3.5 X-Spam_bar: --- X-Spam_report: (-3.5 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-1.531, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01 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+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @intel.com) X-ZM-MESSAGEID: 1705390488048100003 Content-Type: text/plain; charset="utf-8" From: Zhao Liu Remove unused header in numa.c: * qemu/bitmap.h * hw/core/cpu.h * migration/vmstate.h Note: Though parse_numa_hmat_lb() has the variable named "bitmap_copy", it doesn't use the normal bitmap ops so that it's safe to exclude qemu/bitmap.h header. Tested by "./configure" and then "make". Signed-off-by: Zhao Liu --- hw/core/numa.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/hw/core/numa.c b/hw/core/numa.c index f08956ddb0ff..05c5e1b8514c 100644 --- a/hw/core/numa.c +++ b/hw/core/numa.c @@ -28,15 +28,12 @@ #include "sysemu/numa.h" #include "exec/cpu-common.h" #include "exec/ramlist.h" -#include "qemu/bitmap.h" #include "qemu/error-report.h" #include "qapi/error.h" #include "qapi/opts-visitor.h" #include "qapi/qapi-visit-machine.h" #include "sysemu/qtest.h" -#include "hw/core/cpu.h" #include "hw/mem/pc-dimm.h" -#include "migration/vmstate.h" #include "hw/boards.h" #include "hw/mem/memory-device.h" #include "qemu/option.h" --=20 2.34.1