From: Francesco Ansanelli Date: Sun, 3 Jul 2016 19:03:04 +0000 (+0200) Subject: r600: fix duplicate 'const' declaration X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9827fc3f038f551dccc64e3addfaf87e724408f9;p=mesa.git r600: fix duplicate 'const' declaration Signed-off-by: Nicolai Hähnle --- diff --git a/src/gallium/drivers/r600/evergreen_compute.c b/src/gallium/drivers/r600/evergreen_compute.c index 8db525e0bf6..6f39c90cc62 100644 --- a/src/gallium/drivers/r600/evergreen_compute.c +++ b/src/gallium/drivers/r600/evergreen_compute.c @@ -242,7 +242,7 @@ static void r600_destroy_shader(struct r600_bytecode *bc) } static void *evergreen_create_compute_state(struct pipe_context *ctx, - const const struct pipe_compute_state *cso) + const struct pipe_compute_state *cso) { struct r600_context *rctx = (struct r600_context *)ctx; struct r600_pipe_compute *shader = CALLOC_STRUCT(r600_pipe_compute);