[Libva] [PATCH 1/9] Remove unused 'i' and 'buf_list' in va_TraceDestroyBuffer

Sean V Kelley seanvk at posteo.de
Fri Jun 24 23:07:56 UTC 2016



On 06/22/2016 04:45 AM, Lim Siew Hoon wrote:
> Signed-off-by: Lim Siew Hoon <siew.hoon.lim at intel.com>



lgtm, reviewed and tested. thanks applied series

c36971c Remove unused 'id' in va_wayland_drm_create
4ea3e2f Remove unused local varibles in upload_source_YUV_once_for_all.
fb3d2ef Remove unused variable 'id' in va_wayland_emgd_create.
979894b Remove unused 'k' in test func and pre func.
d8397f7 Remove unused 'i' in va_TraceVAEncPackedHeaderParameterBufferType
98ee039 Remove unused 'trace_index' in va_TraceInit
6bfc108 Remove unused 'j' in va_TraceVAPictureParameterBufferVP9.
42ab32a Remove unused 'check_sum' and 'j' in va_TraceSurface
12beda5 Remove unused 'i' and 'buf_list' in va_TraceDestroyBuffer


Sean

> ---
>  va/va_trace.c | 3 ---
>  1 file changed, 3 deletions(-)
> 
> diff --git a/va/va_trace.c b/va/va_trace.c
> index 4e1b8e8..ededead 100644
> --- a/va/va_trace.c
> +++ b/va/va_trace.c
> @@ -1510,9 +1510,6 @@ void va_TraceDestroyBuffer (
>      VABufferType type;
>      unsigned int size;
>      unsigned int num_elements;
> -    
> -    VACodedBufferSegment *buf_list;
> -    int i = 0;
>  
>      if (buf_id == VA_INVALID_ID)
>          return;
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 884 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/libva/attachments/20160624/0e93f59f/attachment.sig>


More information about the Libva mailing list