From afb327a985d8ad70eb8fcd8b94fdbc040167c22b Mon Sep 17 00:00:00 2001 From: Chad Versace Date: Mon, 1 Feb 2016 12:18:10 -0800 Subject: [PATCH] anv: Structify a one-member union anv_descriptor contained a union with one member. --- src/vulkan/anv_private.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/vulkan/anv_private.h b/src/vulkan/anv_private.h index f4794d9fb9d..b9490ae31e2 100644 --- a/src/vulkan/anv_private.h +++ b/src/vulkan/anv_private.h @@ -918,9 +918,7 @@ struct anv_descriptor { union { struct { - union { - struct anv_image_view *image_view; - }; + struct anv_image_view *image_view; struct anv_sampler *sampler; }; -- 2.30.2