From nobody Sat Nov 15 12:16:19 2025 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=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1752648029; cv=none; d=zohomail.com; s=zohoarc; b=XiZxT6142sS9SkI4T9Btbqj7WUHOtzWSye+XSEKAnpmQYhxQyW94bJ4kB6eTwN+jsRePGYtmQbxlh/j+FpkqsqTlJL3EicUBAwQ9HKlO1Zt45wldOZSB13LFEJt2vqsODLWHVrzbw4HEN/id4xVW4FGYQZypgQcT3Ysv3o59AT8= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1752648029; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=oiJyvudtMeS+MdZmNpkjrTZASqM90KIg7HPwr4s3P7c=; b=FG9MlQ7uV/jBeOnCp23eL7w9BhG3MIFugcIGfs1ULBwL5KpuG0i05saNq4WlyyRnlZZSIRMBBWHI4LpcNJU9AhnLKjnUZMRJVn2fwlrDOZGA4S8o0taIE73cnjqcMDM2R5y2/rFybY89Escq8rEPeCIxUi3XjCFWQT/m9zoLFLM= 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 1752648029799253.26427009879671; Tue, 15 Jul 2025 23:40:29 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ubvnj-0004dM-Ra; Wed, 16 Jul 2025 02:39:35 -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 1ubvnh-0004b4-63 for qemu-devel@nongnu.org; Wed, 16 Jul 2025 02:39:33 -0400 Received: from mgamail.intel.com ([192.198.163.9]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ubvnf-00062e-B7 for qemu-devel@nongnu.org; Wed, 16 Jul 2025 02:39:32 -0400 Received: from fmviesa003.fm.intel.com ([10.60.135.143]) by fmvoesa103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Jul 2025 23:39:29 -0700 Received: from lxy-clx-4s.sh.intel.com ([10.239.48.52]) by fmviesa003.fm.intel.com with ESMTP; 15 Jul 2025 23:39:28 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1752647971; x=1784183971; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=kFzCOpkYypMZjXL1Pr1JBszJJpZJEsQKw6+73PhJuxg=; b=jQZbXgqG8dfMlAOc8IAMZgljkII9+cvkNTqpmSmVqXrFWDFChu7J9gcO VJ86xj0OtUGFsmwBGhQ9JRSVUCav5R9GNrJclBwtE8bNvEkDxlccDX4X7 hSh3vcC+bfOrTXTxCFrJN8zYPCeyKeutnKWsGF79jE5eP2IRLlx23reml qLBz4Bx2G+afYA3BGgju6d+FWwzPuwGocR7sKsND4tHxY9YuNoJ+IzCx6 fzl7PXKlnXK7iRMc+0Aos4NMC5hugKdpk21R6YlNyqdo1fieSm3j2bVn9 gqVVqHcO9uK4mb5zPp18176HoLmzksTEzEUmGqBjmryUTCLO5qWbeJEW9 Q==; X-CSE-ConnectionGUID: r99op0IKSjSqTTH4V26NSQ== X-CSE-MsgGUID: rW4jhaJjQTyCxp6LN6suHg== X-IronPort-AV: E=McAfee;i="6800,10657,11493"; a="65577281" X-IronPort-AV: E=Sophos;i="6.16,315,1744095600"; d="scan'208";a="65577281" X-CSE-ConnectionGUID: vBRq+lw6TAGiQ9E+MkYhkg== X-CSE-MsgGUID: VkrwoS06TX2XmzQH/QW43g== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.16,315,1744095600"; d="scan'208";a="161444023" From: Xiaoyao Li To: Paolo Bonzini Cc: Zhao Liu , Xiaoyao Li , qemu-devel@nongnu.org Subject: [PATCH] i386/cpu: Cleanup host_cpu_max_instance_init() Date: Wed, 16 Jul 2025 14:31:16 +0800 Message-ID: <20250716063117.602050-1-xiaoyao.li@intel.com> X-Mailer: git-send-email 2.43.0 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: pass client-ip=192.198.163.9; envelope-from=xiaoyao.li@intel.com; helo=mgamail.intel.com X-Spam_score_int: -33 X-Spam_score: -3.4 X-Spam_bar: --- X-Spam_report: (-3.4 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HK_RANDOM_ENVFROM=0.001, HK_RANDOM_FROM=0.999, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, 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+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @intel.com) X-ZM-MESSAGEID: 1752648031287116600 Content-Type: text/plain; charset="utf-8" The implementation of host_cpu_max_instance_init() was merged into host_cpu_instance_init() by commit 29f1ba338baf ("target/i386: merge host_cpu_instance_init() and host_cpu_max_instance_init()"), while the declaration of it remains in host-cpu.h. Clean it up. Signed-off-by: Xiaoyao Li Reviewed-by: Philippe Mathieu-Daud=C3=A9 Reviewed-by: Zhao Liu --- target/i386/host-cpu.h | 1 - 1 file changed, 1 deletion(-) diff --git a/target/i386/host-cpu.h b/target/i386/host-cpu.h index 10df4b3a3a74..ee6532422548 100644 --- a/target/i386/host-cpu.h +++ b/target/i386/host-cpu.h @@ -12,7 +12,6 @@ =20 uint32_t host_cpu_phys_bits(void); void host_cpu_instance_init(X86CPU *cpu); -void host_cpu_max_instance_init(X86CPU *cpu); bool host_cpu_realizefn(CPUState *cs, Error **errp); =20 void host_cpu_vendor_fms(char *vendor, int *family, int *model, int *stepp= ing); --=20 2.43.0