[Mesa-dev] [PATCH 02/15] mesa: remove unused _mesa_unmarshal_BindBufferBase()

Timothy Arceri tarceri at itsqueeze.com
Tue Apr 11 23:32:26 UTC 2017


Reviewed-by: Timothy Arceri <tarceri at itsqueeze.com>

On 12/04/17 03:58, Samuel Pitoiset wrote:
> Fixes the following Clang warning.
>
> main/marshal.c:209:1: warning: unused function '_mesa_unmarshal_BindBufferBase' [-Wunused-function]
> _mesa_unmarshal_BindBufferBase(struct gl_context *ctx, const struct marshal_cmd_BindBufferBase *cmd)
> ^
> 1 warning generated.
>
> Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
> ---
>  src/mesa/main/marshal.c | 8 --------
>  1 file changed, 8 deletions(-)
>
> diff --git a/src/mesa/main/marshal.c b/src/mesa/main/marshal.c
> index ae32d257e9..ae4efb5ecb 100644
> --- a/src/mesa/main/marshal.c
> +++ b/src/mesa/main/marshal.c
> @@ -205,14 +205,6 @@ struct marshal_cmd_BindBufferBase
>     GLuint index;
>     GLuint buffer;
>  };
> -static inline void
> -_mesa_unmarshal_BindBufferBase(struct gl_context *ctx, const struct marshal_cmd_BindBufferBase *cmd)
> -{
> -   const GLenum target = cmd->target;
> -   const GLuint index = cmd->index;
> -   const GLuint buffer = cmd->buffer;
> -   CALL_BindBufferBase(ctx->CurrentServerDispatch, (target, index, buffer));
> -}
>
>  /** Tracks the current bindings for the vertex array and index array buffers.
>   *
>


More information about the mesa-dev mailing list