From 41d68c3f7e363c75f57e2f00f8ec56ea0fc82e2d Mon Sep 17 00:00:00 2001
From: Yiwei Zhang <zzyiwei@chromium.org>
Date: Sat, 5 Feb 2022 00:43:24 +0000
Subject: [PATCH] virgl: remove renderer_data from virgl_context_blob

This is some leftover from the get_blob_done cleanup.

Signed-off-by: Yiwei Zhang <zzyiwei@chromium.org>
Reviewed-by: Chia-I Wu <olvaffe@gmail.com>
---
 src/venus/vkr_context.c | 3 ---
 src/virgl_context.h     | 2 --
 2 files changed, 5 deletions(-)

diff --git a/src/venus/vkr_context.c b/src/venus/vkr_context.c
index 4dfcbb29c..d15cf6b86 100644
--- a/src/venus/vkr_context.c
+++ b/src/venus/vkr_context.c
@@ -298,7 +298,6 @@ vkr_context_get_blob_locked(struct virgl_context *base,
       blob->type = VIRGL_RESOURCE_FD_SHM;
       blob->u.fd = fd;
       blob->map_info = VIRGL_RENDERER_MAP_CACHE_CACHED;
-      blob->renderer_data = NULL;
       return 0;
    }
 
@@ -377,8 +376,6 @@ vkr_context_get_blob_locked(struct virgl_context *base,
       blob->map_info = VIRGL_RENDERER_MAP_CACHE_NONE;
    }
 
-   blob->renderer_data = mem;
-
    return 0;
 }
 
diff --git a/src/virgl_context.h b/src/virgl_context.h
index d03315664..5adb6fefa 100644
--- a/src/virgl_context.h
+++ b/src/virgl_context.h
@@ -44,8 +44,6 @@ struct virgl_context_blob {
    } u;
 
    uint32_t map_info;
-
-   void *renderer_data;
 };
 
 struct virgl_context;
-- 
GitLab