From: Erik Faye-Lund Date: Thu, 26 Mar 2020 10:50:10 +0000 (+0100) Subject: nv50: remove unused variable X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f4a4d4607e33695faf17b98f54535df90289657b;p=mesa.git nv50: remove unused variable This isn't used anymore, so let's get rid of it to silence a warning. Fixes: c574cda3c6a ("util: Make helper functions for pack/unpacking pixel rows.") Reviewed-by: Karol Herbst Part-of: --- diff --git a/src/gallium/drivers/nouveau/nv50/nv50_vbo.c b/src/gallium/drivers/nouveau/nv50/nv50_vbo.c index da4a0171ac6..a8e2a1b3b27 100644 --- a/src/gallium/drivers/nouveau/nv50/nv50_vbo.c +++ b/src/gallium/drivers/nouveau/nv50/nv50_vbo.c @@ -144,8 +144,6 @@ nv50_emit_vtxattr(struct nv50_context *nv50, struct pipe_vertex_buffer *vb, const void *data = (const uint8_t *)vb->buffer.user + ve->src_offset; float v[4]; const unsigned nc = util_format_get_nr_components(ve->src_format); - const struct util_format_description *desc = - util_format_description(ve->src_format); assert(vb->is_user_buffer);