From patchwork Wed Aug 28 18:40:15 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Eduardo Habkost X-Patchwork-Id: 172409 Delivered-To: patch@linaro.org Received: by 2002:a92:d204:0:0:0:0:0 with SMTP id y4csp1142819ily; Wed, 28 Aug 2019 11:41:45 -0700 (PDT) X-Google-Smtp-Source: APXvYqxpIY+uQfN52jx49Xxzd7umfZ5rvNxvX/Qyu29xF82urIyNhYyQUTmTnpjIIeXjX+TymGpE X-Received: by 2002:a05:620a:15f1:: with SMTP id p17mr5689786qkm.246.1567017705027; Wed, 28 Aug 2019 11:41:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567017705; cv=none; d=google.com; s=arc-20160816; b=cq/MjjxUMX7OkV4ZAVyWvHpDlM9wvFFJx/KdVa9K1Zql6nBs27tOCbwa4e4RxQDbOC QwwAauF7Olb4YOcdO/26mdh4moL2tz0csMgMU+6t766TvMms1waX6uyIE/pkmUWbNhAr gxVHH6hxCCcFu1J5Mg6XOgdOuffxUoXr8h2UbB3VZNfmxlCm5lob9SfZ6OC/foVO12u6 MZm6HIh3DpU4Ora18ncP2AOoDkF2DokaMjxJRZe+ciqMgySC+nmvi5OQAEu0dmptPEiU yr8pXvjUeoEomEw7TVU1kuKXuI0mYVfcFYpB6Oysg+nC4SNESCP54RP4HZrs371fMvkt 9SEQ== 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=ZbYMCDBsc+X2ZW3orl6J+k7vf/VVEyfXzeyNdKgbDOK7XdAMnicXApl/ichEJDME8u lLTw5kfAAcija3e0lf3k29WbUFH0vtfVX3tUNnoqOrdVOyVRpEl3Wpm/yLUx4LBqFtI5 gDJGxnEbK0zUXHdw+1c+EZllRRTYvzYDm5njd8U+J6Z/T8AZACIDMY3BFfapfpQB9WCL lAf/2CEKBOYNLmEH1M1jcWUxw5eflIot6J2yRLb4LEtQuazr5VOnoG6UepemKlXsplUO VITO5sbnf3PuFdDMMpj6cQJT+VPr949zLOz6xskvTpegrx3441W7GFu+P8I4XJmMQaRN qIEQ== 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 g15si103030qkl.16.2019.08.28.11.41.44 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 28 Aug 2019 11:41:45 -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]:39728 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i32t6-0001r9-9a for patch@linaro.org; Wed, 28 Aug 2019 14:41:44 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33192) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i32rx-0001oJ-QV for qemu-devel@nongnu.org; Wed, 28 Aug 2019 14:40:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1i32rw-0003JD-4s for qemu-devel@nongnu.org; Wed, 28 Aug 2019 14:40:33 -0400 Received: from mx1.redhat.com ([209.132.183.28]:52844) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1i32rv-0003Im-Vc for qemu-devel@nongnu.org; Wed, 28 Aug 2019 14:40:32 -0400 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 321B17F746; Wed, 28 Aug 2019 18:40:31 +0000 (UTC) Received: from localhost (ovpn-116-60.gru2.redhat.com [10.97.116.60]) by smtp.corp.redhat.com (Postfix) with ESMTP id B2849600CD; Wed, 28 Aug 2019 18:40:30 +0000 (UTC) From: Eduardo Habkost To: Paolo Bonzini , Igor Mammedov , qemu-devel@nongnu.org, Marcel Apfelbaum , Richard Henderson , Peter Maydell Date: Wed, 28 Aug 2019 15:40:15 -0300 Message-Id: <20190828184026.5840-2-ehabkost@redhat.com> In-Reply-To: <20190828184026.5840-1-ehabkost@redhat.com> References: <20190828184026.5840-1-ehabkost@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.6.2 (mx1.redhat.com [10.5.110.71]); Wed, 28 Aug 2019 18:40:31 +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 v6 01/12] 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;