From 4b6d527a5039bdaf355628830cd9cc40087f0af1 Mon Sep 17 00:00:00 2001 From: Kenneth Graunke Date: Wed, 27 Apr 2022 01:34:25 -0700 Subject: [PATCH] crocus: Don't print out XXX messages if resource creation fails Failing to create staging resources isn't necessarily a critical error, and we probably don't want to be printing out XXX messages. I mostly had this here when bringing up iris and resource creation was failing because I'd done something wrong when writing the code. Then it got copied over to crocus. Reviewed-by: Dave Airlie Part-of: --- src/gallium/drivers/crocus/crocus_resource.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/gallium/drivers/crocus/crocus_resource.c b/src/gallium/drivers/crocus/crocus_resource.c index 8e9d7da..7ce0399 100644 --- a/src/gallium/drivers/crocus/crocus_resource.c +++ b/src/gallium/drivers/crocus/crocus_resource.c @@ -762,7 +762,6 @@ crocus_resource_create_with_modifiers(struct pipe_screen *pscreen, return &res->base.b; fail: - fprintf(stderr, "XXX: resource creation failed\n"); crocus_resource_destroy(pscreen, &res->base.b); return NULL; -- 2.7.4