[PATCH v2 02/23] plugins/amdgpu: Remove unused current_pid global variable

Tvrtko Ursulin <[email protected]> Fri, 10 Apr 2026 19:54:53 +0100
Newsgroups dev.linux.lists.criu
Message-ID <[email protected]>
Remove unused current_pid global variable.

Signed-off-by: Tvrtko Ursulin <[email protected]>
Reviewed-By: David Francis <[email protected]>
---
 plugins/amdgpu/amdgpu_plugin.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/plugins/amdgpu/amdgpu_plugin.c b/plugins/amdgpu/amdgpu_plugin.c
index e3ba0de64767..63c8ecd947af 100644
--- a/plugins/amdgpu/amdgpu_plugin.c
+++ b/plugins/amdgpu/amdgpu_plugin.c
@@ -80,7 +80,6 @@ struct shared_handle_ids *shared_memory = NULL;
 
 static mutex_t *shared_memory_mutex;
 
-int current_pid;
 /*
  * In the case of a single process (common case), this optimization can effectively
  * reduce the restore latency with parallel restore. In the case of multiple processes,
-- 
2.52.0