diff --git a/xen/common/debugtrace.c b/xen/common/debugtrace.c index 7313e89389..a788e55b4c 100644 --- a/xen/common/debugtrace.c +++ b/xen/common/debugtrace.c @@ -259,7 +259,6 @@ static void debugtrace_alloc_buffer(struct debugtrace_data **ptr, memset(data, '\0', debugtrace_bytes + sizeof(*data)); - dt_data = data; *ptr = data; }