From 6529cbd0bcd2b3c663f6407bab71ed72de83ae3c Mon Sep 17 00:00:00 2001 From: Vinson Lee Date: Thu, 8 Oct 2020 15:27:01 -0700 Subject: [PATCH] svga: Remove unused printf argument. Fix defect reported by Coverity Scan. Extra argument to printf format specifier (PRINTF_ARGS) extra_argument: This argument was not used by the format string: tex->handle. Signed-off-by: Vinson Lee Reviewed-by: Neha Bhende Part-of: --- src/gallium/drivers/svga/svga_resource_texture.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/drivers/svga/svga_resource_texture.c b/src/gallium/drivers/svga/svga_resource_texture.c index 5ca6772f462..ab7d3876760 100644 --- a/src/gallium/drivers/svga/svga_resource_texture.c +++ b/src/gallium/drivers/svga/svga_resource_texture.c @@ -1131,7 +1131,7 @@ svga_texture_create(struct pipe_screen *screen, tex->key.format = typeless; } - SVGA_DBG(DEBUG_DMA, "surface_create for texture\n", tex->handle); + SVGA_DBG(DEBUG_DMA, "surface_create for texture\n"); tex->handle = svga_screen_surface_create(svgascreen, bindings, tex->b.b.usage, &tex->validated, &tex->key);