From patchwork Mon Feb 27 14:00:35 2023 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: 657014 Delivered-To: patch@linaro.org Received: by 2002:adf:a3c6:0:0:0:0:0 with SMTP id m6csp2371887wrb; Mon, 27 Feb 2023 06:10:50 -0800 (PST) X-Google-Smtp-Source: AK7set/0JFdCLadUEcvsxk+luRZV+lJS5ZoDuzK1MfrKSZRSc+aRsQz5nBUhHXDznXCGEt2d68oO X-Received: by 2002:a05:6214:c22:b0:56c:858:6c00 with SMTP id a2-20020a0562140c2200b0056c08586c00mr39548899qvd.32.1677507050702; Mon, 27 Feb 2023 06:10:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1677507050; cv=none; d=google.com; s=arc-20160816; b=cdTKrKAPgxdiK/prsOAPmy1T/kDtN5sDFwm4fdydmEYrb1C/1+3OLJkCZx2H/6gIU1 +VmKzuachthMDAbQ5HROwyptraY+yBT3eKhn7v+L3StG0yuEQ2Se4rbZ55G5HHQPADW6 wPVlmn+TqOJEbiIAej1rETjvqNTEAg0rKUgRQUUod7WMSKWvEtlKmPF5tx+UOLQBPo0H A+IF1tes+3tuIGWSZ5hJ5Hq9cOK8uzou521WAgE1lEI6sB9GfG7cMdxSQoOtgtHrQAv8 sLJQULxrB08jFwdb/dte4nPk1qbWstLbVj8MqalfXZ9jcSA5VGRs8bTkJZCQYtH6QfEF AKxg== 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:to:from :dkim-signature; bh=vpl9vEKMKT9/BEtmXepusmjvuZlR1l2LpRiJAanevzY=; b=kVn8GSmiQ+yuPWHQytiLzvNNrErGzFWDJpQkRF/HVcqrbibL6a1Xgn5OGEk1XZ5TCY uL1UuUh3pT1mtCsx85IEEAOmakvvCri83UdS2stZvzud3yc9bmioIewFziCyz0z9tppI tAwfLwDdJpN1IUQLq6hnyF8ATzRr+j3G0b+Bh5UXiT0unWe4GVNfuOkmECZKMoEBcYn4 1eAQMGMukVnTW1ttvKn2/tEWTKf3YIbQ/Wmx5I1rI8hXT6TgEJwjLIhn1gRoEjmIwYYp Qxwo6+YQYXo7XxUsEtinKSdBY5/7SluzndSwxoajdGAzQMxA3A7KKuK10v30RCiBTqaK LnMw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=wJ5irwSV; 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 g4-20020a0ce4c4000000b005353d269016si6642093qvm.304.2023.02.27.06.10.50 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 27 Feb 2023 06:10:50 -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=wJ5irwSV; 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 1pWe6v-0001HB-CK; Mon, 27 Feb 2023 09:04:13 -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 1pWe6g-00010q-Gr for qemu-devel@nongnu.org; Mon, 27 Feb 2023 09:04:00 -0500 Received: from mail-wm1-x335.google.com ([2a00:1450:4864:20::335]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pWe6f-0007w2-32 for qemu-devel@nongnu.org; Mon, 27 Feb 2023 09:03:58 -0500 Received: by mail-wm1-x335.google.com with SMTP id fm20-20020a05600c0c1400b003ead37e6588so7224255wmb.5 for ; Mon, 27 Feb 2023 06:03:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=vpl9vEKMKT9/BEtmXepusmjvuZlR1l2LpRiJAanevzY=; b=wJ5irwSVwkTY6kNKdbWMgUt8i/u+4FdmCL3S7VTKfrQ02EKejvcSlYJpaqbnAHnAtA 0gEz4QClNTEWPP0YJGYUc2NRiXDhf2ZAQbdVTTBaH9umDry9cYxB4EiHDp0mlyOy+qm5 stga3JIQ3m/wb0qMDTm/h83b4+bELumi2+mCchZjSjhpxKfg0e64hQLtWQ9gnZN66uYh N0n4V5aE1zCFKRQqshL9MowH534iaBlROAoc2/PVER0xytWMr3wvVYlkAvA5Y0Fc+9xl mZV1izB0A2+5aYHFjbAd5NRVzyrVhCOpDffI01vg/eDXUuBiYZ7Og3DCkbbsuEmBzmSw SlzQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=vpl9vEKMKT9/BEtmXepusmjvuZlR1l2LpRiJAanevzY=; b=5QsIfU8NlVrCcsFNfifXV+oH9GLFiHVrizy0Jk6QPR+h6SrIRElfaXkCPuf4ixDQ/W EHHYq8ky+cPANuFTpDMT9lO+o/cEZlAnHgXfpvfxRYFFZZT/LBAaJSVDLEjs4+WdijuJ 4ZW7Kg/zzSrl7W+4wdLbVw+jGDcauvqnXMojn6Gerb2kxtPgA4/JfGj8pc9LPMRcsZt+ EVkIEQcsFcV3GRXzVUn6EFijtE1f4bPrbBGJVhn2fNK9r8ie25m0THXy4aPFlfYU+qZG /MLuv3vM4fsSuiwQtU/X3ApmBP1gC0D2dqCtBu216b30RYnVhIFU7vqAX+Jph+5gJL9a Blow== X-Gm-Message-State: AO0yUKXV02e1s/Qk+oOIs0LEy7CpusoYZQCLOhpZzBqQdGqZNZ8MolYm /DUoY4p1PaHix2CcdDqXA094KuTS4TzLy7cm X-Received: by 2002:a05:600c:44d6:b0:3eb:19e7:b291 with SMTP id f22-20020a05600c44d600b003eb19e7b291mr8296914wmo.11.1677506635259; Mon, 27 Feb 2023 06:03:55 -0800 (PST) Received: from localhost.localdomain ([81.0.6.76]) by smtp.gmail.com with ESMTPSA id d8-20020a05600c34c800b003dc4480df80sm13619424wmq.34.2023.02.27.06.03.54 for (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Mon, 27 Feb 2023 06:03:54 -0800 (PST) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Subject: [PULL 028/126] accel/xen: Remove dead code Date: Mon, 27 Feb 2023 15:00:35 +0100 Message-Id: <20230227140213.35084-19-philmd@linaro.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20230227140213.35084-1-philmd@linaro.org> References: <20230227140213.35084-1-philmd@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::335; envelope-from=philmd@linaro.org; helo=mail-wm1-x335.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 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+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org Unused since introduction in commit 04b0de0ee8 ("xen: factor out common functions"). Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Alex Bennée Acked-by: Paul Durrant Message-Id: <20230215153451.30626-1-philmd@linaro.org> --- accel/xen/xen-all.c | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/accel/xen/xen-all.c b/accel/xen/xen-all.c index 69aa7d018b..c1b697a8bd 100644 --- a/accel/xen/xen-all.c +++ b/accel/xen/xen-all.c @@ -23,16 +23,6 @@ #include "migration/global_state.h" #include "hw/boards.h" -//#define DEBUG_XEN - -#ifdef DEBUG_XEN -#define DPRINTF(fmt, ...) \ - do { fprintf(stderr, "xen: " fmt, ## __VA_ARGS__); } while (0) -#else -#define DPRINTF(fmt, ...) \ - do { } while (0) -#endif - bool xen_allowed; xc_interface *xen_xc;