From patchwork Tue Jan 23 22:48:38 2024 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: 765210 Delivered-To: patch@linaro.org Received: by 2002:a05:6000:10c4:b0:337:62d3:c6d5 with SMTP id b4csp1840572wrx; Tue, 23 Jan 2024 14:50:09 -0800 (PST) X-Google-Smtp-Source: AGHT+IH5uea2RYY6zwT4pzpuW8Jf3Qt4yovjSFktk+PwRnodHbkaOT1MfMMA6scUyWMWVbm+8wnQ X-Received: by 2002:a05:6214:202c:b0:67f:26c9:ffdb with SMTP id 12-20020a056214202c00b0067f26c9ffdbmr491320qvf.22.1706050209443; Tue, 23 Jan 2024 14:50:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1706050209; cv=none; d=google.com; s=arc-20160816; b=f5gNFO/d3rvwZgwYXCdlP8qsCfl50xNyP7pY9I3X2aIZtrO+eCZ6bWDgMFUrsQTnOS rv0i7CP0nzmPZ7eqiuMe5NQQEFGyG2aWmW3EjN4gTo9bQzpw3zSWjx2nOA/BoYUL68qx V8jlrOfDJuFAu/qHM4XClZgk6kSIVtcOBGlyshnnpcylzj3pGznQJ5K/ZrXgfq9jloZ7 g9DajJv1gjecOmwNA2u1qis/cz1mEaxyryZYuUSRqDs7xdbo9cz6yLLRnmvrtO9kX2VU CX+TKIS0/Tfdq53viMwzUG78onduhe0/fDRNVVofjHNxtyO3bQ4j8Wo7PgXTtC3iUDu2 JsgA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=Ne9fETa/FFUb8yRzxwXxz52suSQeNnRaNemXs5i2sTM=; fh=syX9H1Z6jvTUZoUNlfCNxZiWCwEj552WMbtCUDPMiLw=; b=Z8PYZA7dYan/R0rj83LS/HlIOfD6/HnuK2E482OwyKCN/9W7oZuw2jCKSDFSZsY0QX XHU0uV8IOHNqOYIZgBzvGPdZZSTN/EBKoiR59PLOt6HS5gtgWqtxQhtuRm1/2AoflF8G rwMMX9S+pAvjyizQZYEXAy5YSA5SIj3UlvmED19jJnfOXC+z2TBiD0JFCBIjU2kSu747 K1+dlyzKwPfgHbPWCtoTaZlcQ7B464ou96hpFwJveoEzcchVs73VmvO7nhwCG2jRyMZ1 pLw5iWoMkkzQzQjNKgbvhNBu1tBfIcN4uDUPuqbsppYwfneOhuv9XL9SjmKTeub31Ai/ lSuw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ZRuyS8Qn; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id v18-20020a0cdd92000000b006817f6c91a1si8644474qvk.295.2024.01.23.14.50.09 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 23 Jan 2024 14:50:09 -0800 (PST) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ZRuyS8Qn; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rSPZl-00070o-Lg; Tue, 23 Jan 2024 17:49:01 -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 1rSPZh-000701-B9 for qemu-devel@nongnu.org; Tue, 23 Jan 2024 17:48:58 -0500 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 1rSPZc-0004Gf-QJ for qemu-devel@nongnu.org; Tue, 23 Jan 2024 17:48:56 -0500 Received: by mail-wr1-x436.google.com with SMTP id ffacd0b85a97d-3392291b21bso4159650f8f.1 for ; Tue, 23 Jan 2024 14:48:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1706050130; x=1706654930; 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=Ne9fETa/FFUb8yRzxwXxz52suSQeNnRaNemXs5i2sTM=; b=ZRuyS8QntMWqxs9s7HxavN5d2ok6Fulqs2JUCVXbQypc/+ztBEyHIWPblsxiVnxM8P +k5ZkCPzqB4XgUzFqQQ01YJJXkvcwEueh9Lz0xOene4T7DSBZuDibeYeG8SWd+Kg2G5K sb9rkDZuXOcaCB3+0KKZrDCdSjRDspMWQm5IBWOHuLpKQE71EWWd0PxhCXmF8fAARpRD qJy1RETk+py0JJ2Kx1FVxdD0zR+4XRlaICI4+aTCXD35DVFwVeeGX/sk1CuAXtbZa/Ec s5qgyfDA+76CV9A/RFTulO0vqnz4DZYFYeDrCmv93JdEbL2jtu/BtelRsAVXsB+NEZvx Tp1g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706050130; x=1706654930; 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=Ne9fETa/FFUb8yRzxwXxz52suSQeNnRaNemXs5i2sTM=; b=UGQ0RLR+aOyF6LO4/rvG1aokAMWZWP6J7iNQOHFtltqPyRGo8pvrcrefsoQ045Bv2z xHWSpxPOvf/RCC+0/Qj2dBfur2yaWYwrGLJun/X6c/Ds/Ky2X/S6lqxklcNZAURCxNhy 35DtfvUxBsuu6l7oe4Xty20HkbFpz/db8vsSjsFG/8E8lHF3nMQhZDf2sIRt2gMz/3vn D0y5rjhWnP1r30mbWJ5Y7ni2eEc7Znh4C8aMNPBXm6EQkoGSkWFbm6GrftGEHr14bw2K tOO6tPLOjPitcWGtRMa5b7zh3WgcrShtce7Q8ZIiP5RUDsTpIHHKPZxXSBeq3tF6Gyvb 4yYQ== X-Gm-Message-State: AOJu0Yx53vvo6uRAzSyLKXPH2GgF8drWATvHyG/iwdjSR5CGe+3k/yA4 iF8rzmKK5QdIhcd0zyfy8ObGQGHai0Ai++zyAre3m/v+S3+9OESV3MW+1nv3PBmSPo2hmtyzp7g A X-Received: by 2002:a05:6000:799:b0:339:3595:56a with SMTP id bu25-20020a056000079900b003393595056amr2564123wrb.26.1706050130455; Tue, 23 Jan 2024 14:48:50 -0800 (PST) Received: from m1x-phil.lan ([176.187.194.78]) by smtp.gmail.com with ESMTPSA id n17-20020a5d67d1000000b003392f229b60sm7627985wrw.40.2024.01.23.14.48.49 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Tue, 23 Jan 2024 14:48:50 -0800 (PST) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Peter Maydell , qemu-arm@nongnu.org, Joel Stanley , Andrew Jeffery , =?utf-8?q?C=C3=A9dric_Le_Goater?= , =?utf-8?q?Philippe_Mathie?= =?utf-8?q?u-Daud=C3=A9?= Subject: [PATCH v2 1/5] hw/arm/aspeed: Remove dead code Date: Tue, 23 Jan 2024 23:48:38 +0100 Message-ID: <20240123224842.18485-2-philmd@linaro.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20240123224842.18485-1-philmd@linaro.org> References: <20240123224842.18485-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, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=unavailable 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+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org Remove copy/paste typo from commit 6c323aba40 ("hw/arm/aspeed: Adding new machine Tiogapass in QEMU"). Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Cédric Le Goater Reviewed-by: Richard Henderson Reviewed-by: Gavin Shan --- hw/arm/aspeed.c | 1 - 1 file changed, 1 deletion(-) diff --git a/hw/arm/aspeed.c b/hw/arm/aspeed.c index cc59176563..4bc292ff84 100644 --- a/hw/arm/aspeed.c +++ b/hw/arm/aspeed.c @@ -1301,7 +1301,6 @@ static void aspeed_machine_tiogapass_class_init(ObjectClass *oc, void *data) mc->default_ram_size = 1 * GiB; mc->default_cpus = mc->min_cpus = mc->max_cpus = aspeed_soc_num_cpus(amc->soc_name); - aspeed_soc_num_cpus(amc->soc_name); }; static void aspeed_machine_sonorapass_class_init(ObjectClass *oc, void *data)