aboutsummaryrefslogtreecommitdiffstats
path: root/xen/include/asm-x86/hvm/trace.h
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2010-09-20 18:52:48 +0100
committerKeir Fraser <keir.fraser@citrix.com>2010-09-20 18:52:48 +0100
commita8a6ca9fe75210c011e2e775175acd3601603306 (patch)
tree7c151c93f7088d43a82d5625d89e36f3cc33d673 /xen/include/asm-x86/hvm/trace.h
parent4be742c4db99e4194a774d406f78864dd4dcb56f (diff)
downloadxen-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/include/asm-x86/hvm/trace.h')
-rw-r--r--xen/include/asm-x86/hvm/trace.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/xen/include/asm-x86/hvm/trace.h b/xen/include/asm-x86/hvm/trace.h
index dcc0ae0eca..57dacaf619 100644
--- a/xen/include/asm-x86/hvm/trace.h
+++ b/xen/include/asm-x86/hvm/trace.h
@@ -72,7 +72,7 @@
_d.d[4]=(d5); \
_d.d[5]=(d6); \
__trace_var(TRC_HVM_ ## evt, cycles, \
- sizeof(u32)*count+1, (unsigned char *)&_d); \
+ sizeof(u32)*count+1, &_d); \
} \
} while(0)