From patchwork Tue Sep 3 21:01:49 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Eduardo Habkost X-Patchwork-Id: 172888 Delivered-To: patch@linaro.org Received: by 2002:a92:d204:0:0:0:0:0 with SMTP id y4csp403225ily; Tue, 3 Sep 2019 14:30:19 -0700 (PDT) X-Google-Smtp-Source: APXvYqys7A8koWO/VWi5tR9VyQ3VLiyt+MVp5ju1GEpuaCwf25BgSVuxC6jjId1C6Q2bzu9cfJ3B X-Received: by 2002:a17:906:4c81:: with SMTP id q1mr17306369eju.185.1567546219029; Tue, 03 Sep 2019 14:30:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567546219; cv=none; d=google.com; s=arc-20160816; b=w4xZFaNY3seJjL7JvgKsnvmVdUSdkXU8nhZAT1oAajpDbrI/7t3dSVZHOm4kVWU39T eIKuDSp38wbbe7qtPKzRyvynhg4rJM+k6fplsX0nNGNw22cyVI2EHtDvLCo526f5e8Wq tF0owtOAbR7QtzILh/IKuxw9cpw3YYJqaU08omO87eAM8JRBDcWgkzJamZ04b6K3iw38 j0uvoID75nYhxibzrwPm+fOgwV6mTHxAVCAgKDHIF3XBGBOQs7BxQNAwlXsO2uLwkrYq Timaxw0o01CXt8A+eFuKewTFq5dSsAHv4f00sbfCrr2sI3SL3+1DzWV7fYD1Zd3R8zgY o5FA== 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 :content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:to:from; bh=gFFVq0myHuMx8lvaioGP6dG/ji+Jo15SyRzrZhUy/mw=; b=RZT3oUdn1FExMcwuH+ltR8iFC7nY85uEvm8GvKOstz7C3WQhBOfDYzzUd02TbQPa2B W0um/O7auVJ5t2iUzwr5zjg2EV2QFuv76ZAZMC+gIaE/1tRgWf7eILgYB3Qozew33bM+ QsgH0LGAouU7B/SiAred3TeQ0rC0EuXjhfgbVRxBSt/yLZfiC5/UqXFSLMP4h7JlIgmk xXfRbl5gJmqUYPIBr1raw7gUZ0n6cxJlqKjidYt2GXxAdfD9pDiN2ZfWQYV3aC2n8dSj Kz6Hp3/kjJAhdpCkOu7drdlO8R+0EPuMwMUzF3kesTnxJ1fPjoCXvrMw0Gm12lfP2nlu BihA== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id h50si1576255ede.423.2019.09.03.14.30.18 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 03 Sep 2019 14:30:19 -0700 (PDT) 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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from localhost ([::1]:51772 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i5GNU-0002S5-7W for patch@linaro.org; Tue, 03 Sep 2019 17:30:16 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56872) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i5FwT-0004HH-E4 for qemu-devel@nongnu.org; Tue, 03 Sep 2019 17:02:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1i5FwQ-0001G4-8o for qemu-devel@nongnu.org; Tue, 03 Sep 2019 17:02:20 -0400 Received: from mx1.redhat.com ([209.132.183.28]:45014) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1i5FwP-00017U-OP for qemu-devel@nongnu.org; Tue, 03 Sep 2019 17:02:18 -0400 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 707853082E72; Tue, 3 Sep 2019 21:02:05 +0000 (UTC) Received: from localhost (ovpn-116-55.gru2.redhat.com [10.97.116.55]) by smtp.corp.redhat.com (Postfix) with ESMTP id 01CFD19D70; Tue, 3 Sep 2019 21:02:04 +0000 (UTC) From: Eduardo Habkost To: Paolo Bonzini , Igor Mammedov , Peter Maydell , Richard Henderson , Marcel Apfelbaum , qemu-devel@nongnu.org Date: Tue, 3 Sep 2019 18:01:49 -0300 Message-Id: <20190903210201.14627-2-ehabkost@redhat.com> In-Reply-To: <20190903210201.14627-1-ehabkost@redhat.com> References: <20190903210201.14627-1-ehabkost@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.46]); Tue, 03 Sep 2019 21:02:05 +0000 (UTC) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.132.183.28 Subject: [Qemu-devel] [PULL v2 01/13] includes: remove stale [smp|max]_cpus externs X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Richard Henderson , =?utf-8?q?Alex_Benn?= =?utf-8?b?w6ll?= , Like Xu Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" From: Alex Bennée Commit a5e0b3311 removed these in favour of querying machine properties. Remove the extern declarations as well. Signed-off-by: Alex Bennée Cc: Like Xu Message-Id: <20190711130546.18578-1-alex.bennee@linaro.org> Reviewed-by: Richard Henderson Reviewed-by: Like Xu Fixes: a5e0b331193a ("vl.c: Replace smp global variables with smp machine properties") Signed-off-by: Eduardo Habkost --- include/sysemu/sysemu.h | 2 -- 1 file changed, 2 deletions(-) -- 2.21.0 diff --git a/include/sysemu/sysemu.h b/include/sysemu/sysemu.h index d2c38f611a..44f18eb739 100644 --- a/include/sysemu/sysemu.h +++ b/include/sysemu/sysemu.h @@ -42,8 +42,6 @@ extern const char *keyboard_layout; extern int win2k_install_hack; extern int alt_grab; extern int ctrl_grab; -extern int smp_cpus; -extern unsigned int max_cpus; extern int cursor_hide; extern int graphic_rotate; extern int no_quit;