[Libva] [PATCH 2/9] Remove unused 'check_sum' and 'j' in va_TraceSurface

Lim Siew Hoon siew.hoon.lim at intel.com
Wed Jun 22 11:45:56 UTC 2016


Signed-off-by: Lim Siew Hoon <siew.hoon.lim at intel.com>
---
 va/va_trace.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/va/va_trace.c b/va/va_trace.c
index ededead..e9c24a2 100644
--- a/va/va_trace.c
+++ b/va/va_trace.c
@@ -939,7 +939,7 @@ static void va_TraceMsg(struct trace_context *trace_ctx, const char *msg, ...)
 
 static void va_TraceSurface(VADisplay dpy, VAContextID context)
 {
-    unsigned int i, j;
+    unsigned int i;
     unsigned int fourcc; /* following are output argument */
     unsigned int luma_stride;
     unsigned int chroma_u_stride;
@@ -951,7 +951,6 @@ static void va_TraceSurface(VADisplay dpy, VAContextID context)
     void *buffer = NULL;
     unsigned char *Y_data, *UV_data, *tmp;
     VAStatus va_status;
-    unsigned char check_sum = 0;
     DPY2TRACECTX(dpy, context, VA_INVALID_ID);
 
     if (!trace_ctx->trace_fp_surface)
-- 
2.1.0



More information about the Libva mailing list