[RFC 02/26] plugins/amdgpu: Remove unused current_pid global variable

Tvrtko Ursulin <[email protected]> Fri, 20 Feb 2026 12:04:50 +0000
Newsgroups dev.linux.lists.criu
Message-ID <[email protected]>
Remove unused current_pid global variable.

Signed-off-by: Tvrtko Ursulin <[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 ae57fb2f42e1..505f1f98abb9 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