[PATCH] accel/xen: Remove dead code

Philippe Mathieu-Daudé posted 1 patch 1 year, 2 months ago
Failed in applying to current master (apply log)
There is a newer version of this series
accel/xen/xen-all.c | 10 ----------
1 file changed, 10 deletions(-)
[PATCH] accel/xen: Remove dead code
Posted by Philippe Mathieu-Daudé 1 year, 2 months ago
Unused since introduction in commit 04b0de0ee8
("xen: factor out common functions").

Signed-off-by: Philippe Mathieu-Daudé <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;
-- 
2.38.1


Re: [PATCH] accel/xen: Remove dead code
Posted by Paul Durrant 1 year, 2 months ago
On 15/02/2023 15:34, Philippe Mathieu-Daudé wrote:
> Unused since introduction in commit 04b0de0ee8
> ("xen: factor out common functions").
> 
> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
> ---
>   accel/xen/xen-all.c | 10 ----------
>   1 file changed, 10 deletions(-)
> 

Acked-by: Paul Durrant <paul@xen.org>


Re: [PATCH] accel/xen: Remove dead code
Posted by Alex Bennée 1 year, 2 months ago
Philippe Mathieu-Daudé <philmd@linaro.org> writes:

> Unused since introduction in commit 04b0de0ee8
> ("xen: factor out common functions").
>
> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>

Reviewed-by: Alex Bennée <alex.bennee@linaro.org>

-- 
Alex Bennée
Virtualisation Tech Lead @ Linaro