From patchwork Wed Feb 15 15:34:51 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: 13141813 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 727CEC636D4 for ; Wed, 15 Feb 2023 15:35:13 +0000 (UTC) Received: from list by lists.xenproject.org with outflank-mailman.496072.766611 (Exim 4.92) (envelope-from ) id 1pSJoA-00019D-BV; Wed, 15 Feb 2023 15:34:58 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 496072.766611; Wed, 15 Feb 2023 15:34:58 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1pSJoA-000196-8b; Wed, 15 Feb 2023 15:34:58 +0000 Received: by outflank-mailman (input) for mailman id 496072; Wed, 15 Feb 2023 15:34:57 +0000 Received: from se1-gles-flk1-in.inumbo.com ([94.247.172.50] helo=se1-gles-flk1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1pSJo9-000190-7I for xen-devel@lists.xenproject.org; Wed, 15 Feb 2023 15:34:57 +0000 Received: from mail-wm1-x332.google.com (mail-wm1-x332.google.com [2a00:1450:4864:20::332]) by se1-gles-flk1.inumbo.com (Halon) with ESMTPS id 4bdc1b3d-ad46-11ed-93b5-47a8fe42b414; Wed, 15 Feb 2023 16:34:55 +0100 (CET) Received: by mail-wm1-x332.google.com with SMTP id n33so7609893wms.0 for ; Wed, 15 Feb 2023 07:34:55 -0800 (PST) Received: from localhost.localdomain ([81.0.6.76]) by smtp.gmail.com with ESMTPSA id t14-20020a1c770e000000b003dfdeb57027sm2282207wmi.38.2023.02.15.07.34.53 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Wed, 15 Feb 2023 07:34:54 -0800 (PST) X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: 4bdc1b3d-ad46-11ed-93b5-47a8fe42b414 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=NKH73T8CoRDn773NUygCpVvIPtF8CVn6vI6nMM27j1I=; b=oWMZO8SDTBKsKLKV5arFKZkrAJOGtNpPBm7I7aWKb95hPiiIgSofZ2fkKU9tV1yKEk ezjXzyaIJvJZ7pt/cesNBdhWjhfCD6KYhuK3pUsvBFLzjuXN7TM3pj0Aj+NMo1rWX/D+ HjCANU6Wo6wCGW/Kv//t8t8RmH8XJ2EJBasw66r5j5wcdU9lsvUIE3mQU9Vp7JQA2sI5 +CUrsISj4deC6Zc/TrdvDLfz1UMTfaaVHV/WHx/zcqM5nvoBYV7XqNW0nYgniuMJfDdo OQ1fyZ5xzZ5uQqcPz6yGnEHfZanaWvSUEkKl05yMthFmyQCAbLDxwE1G6pJTej7KTPSv eo3w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=NKH73T8CoRDn773NUygCpVvIPtF8CVn6vI6nMM27j1I=; b=bDuFw9laJemdXTKvSpAWVmwE8FmFjJeHuY1+Ew2h2urz14ljGtGOos8cIL0uUyJXD1 F7oQhgihG+HfLzVO20ty6sdaYym5OttSNuZMAPODp2jPqyWCpB2f0yN+GEz0fXpUGonq ZbGML5IgqBOfBqSTFfjcPbhV6a6xG2bGgh/jHXAY10qJL+bjdQ++L3s+iN1MLAri+CI7 h1Ga4ZRw/yGtif5nk1QD8DQ2A5eys4lRF0j2uWMpQ7sBWlMedqhjbhdR/nm7hXstuLxP 59Rq0gu9gkXKe+Ly0lKvFx6IL2k+rVSiPdyjLVCJFWrRoXE3TEpAXkdB7k0VdKF75WCa d1cA== X-Gm-Message-State: AO0yUKXr8bZbrcNXGzRM1WI5h3XATVX2DfAW6+hgeyiFl3T6pjTKNE0D BRFaS34fY6XszKmscPQq/7J0Kg== X-Google-Smtp-Source: AK7set8VKr93YhBGymtNxoDV9uf+fr5u7KtD7OV4RU+JGE5FxHGGg56i8sDAFXLY5R0goR0ryEeC4g== X-Received: by 2002:a05:600c:5024:b0:3df:fcbd:3159 with SMTP id n36-20020a05600c502400b003dffcbd3159mr2107593wmr.3.1676475294684; Wed, 15 Feb 2023 07:34:54 -0800 (PST) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Anthony Perard , Paul Durrant , Stefano Stabellini , xen-devel@lists.xenproject.org, qemu-trivial@nongnu.org, =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Subject: [PATCH] accel/xen: Remove dead code Date: Wed, 15 Feb 2023 16:34:51 +0100 Message-Id: <20230215153451.30626-1-philmd@linaro.org> X-Mailer: git-send-email 2.38.1 MIME-Version: 1.0 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 --- 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;