diff mbox series

accel/xen: Remove dead code

Message ID 20230215153451.30626-1-philmd@linaro.org (mailing list archive)
State New, archived
Headers show
Series accel/xen: Remove dead code | expand

Commit Message

Philippe Mathieu-Daudé Feb. 15, 2023, 3:34 p.m. UTC
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(-)

Comments

Alex Bennée Feb. 15, 2023, 5:33 p.m. UTC | #1
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>
Paul Durrant Feb. 20, 2023, 2:31 p.m. UTC | #2
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>
diff mbox series

Patch

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;