From 27497c5c0221ed86337fc5a89080f123dcd8fd52 Mon Sep 17 00:00:00 2001 From: Caio Marcelo de Oliveira Filho Date: Fri, 31 May 2019 14:30:18 -0700 Subject: [PATCH] iris: Drop unused locals from iris_clear.c to avoid warning Reviewed-by: Jordan Justen --- src/gallium/drivers/iris/iris_clear.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/gallium/drivers/iris/iris_clear.c b/src/gallium/drivers/iris/iris_clear.c index da2593c78dd..45030eb1208 100644 --- a/src/gallium/drivers/iris/iris_clear.c +++ b/src/gallium/drivers/iris/iris_clear.c @@ -75,9 +75,6 @@ can_fast_clear_color(struct iris_context *ice, { struct iris_resource *res = (void *) p_res; - struct iris_batch *batch = &ice->batches[IRIS_BATCH_RENDER]; - const struct gen_device_info *devinfo = &batch->screen->devinfo; - if (res->aux.usage == ISL_AUX_USAGE_NONE) return false; -- 2.30.2