anv: remove incorrect `UNUSED` flag
authorEric Engestrom <eric.engestrom@intel.com>
Tue, 24 Jul 2018 08:54:33 +0000 (09:54 +0100)
committerEric Engestrom <eric.engestrom@intel.com>
Thu, 26 Jul 2018 09:06:11 +0000 (10:06 +0100)
Signed-off-by: Eric Engestrom <eric.engestrom@intel.com>
Reviewed-by: Dylan Baker <dylan@pnwbakers.com>
src/intel/vulkan/anv_image.c

index 5d9becf51723b8a4ca47d100747359c190b5b8ba..36d4ac13c75d8a22e7eef663e2eff19ad0fa2e9d 100644 (file)
@@ -303,7 +303,7 @@ make_surface(const struct anv_device *dev,
              VkImageAspectFlagBits aspect)
 {
    const VkImageCreateInfo *vk_info = anv_info->vk_info;
-   bool ok UNUSED;
+   bool ok;
 
    static const enum isl_surf_dim vk_to_isl_surf_dim[] = {
       [VK_IMAGE_TYPE_1D] = ISL_SURF_DIM_1D,