From f4a4d4607e33695faf17b98f54535df90289657b Mon Sep 17 00:00:00 2001 From: Erik Faye-Lund Date: Thu, 26 Mar 2020 11:50:10 +0100 Subject: [PATCH] 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: --- src/gallium/drivers/nouveau/nv50/nv50_vbo.c | 2 -- 1 file changed, 2 deletions(-) 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); -- 2.30.2