diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2010-09-20 18:52:48 +0100 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2010-09-20 18:52:48 +0100 |
commit | a8a6ca9fe75210c011e2e775175acd3601603306 (patch) | |
tree | 7c151c93f7088d43a82d5625d89e36f3cc33d673 /xen/common/memory.c | |
parent | 4be742c4db99e4194a774d406f78864dd4dcb56f (diff) | |
download | xen-a8a6ca9fe75210c011e2e775175acd3601603306.tar.gz xen-a8a6ca9fe75210c011e2e775175acd3601603306.tar.bz2 xen-a8a6ca9fe75210c011e2e775175acd3601603306.zip |
Eliminate unnecessary casts from __trace_var() invocations
This is possible now that its last parameter's type is 'const void *'.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
Diffstat (limited to 'xen/common/memory.c')
-rw-r--r-- | xen/common/memory.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xen/common/memory.c b/xen/common/memory.c index a18c896545..37b3136b2a 100644 --- a/xen/common/memory.c +++ b/xen/common/memory.c @@ -234,7 +234,7 @@ static void decrease_reservation(struct memop_args *a) t.d = a->domain->domain_id; t.order = a->extent_order; - __trace_var(TRC_MEM_DECREASE_RESERVATION, 0, sizeof(t), (unsigned char *)&t); + __trace_var(TRC_MEM_DECREASE_RESERVATION, 0, sizeof(t), &t); } /* See if populate-on-demand wants to handle this */ |