Received: from fanzine2.igalia.com (fanzine2.igalia.com [213.97.179.56]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id AB4F933E379 for ; Fri, 20 Feb 2026 12:05:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=213.97.179.56 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771589130; cv=none; b=UEYvqIgvafSSd052vrIJVL63tF0seTxwxbksRugTntZ7Jw6+97cAmQERyuiHyQu6KypGoI+8TjjQam3jOILHBS60s73Ru9/faiVneX/7tzjOaaQyKtiMG0KEy6785HJMckzyC6Wt74YYfLMFxH3QPJ5UAMbuldwVmVxkQN2bAS4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771589130; c=relaxed/simple; bh=g/o194sof7qXtP9pRstwyYATAv17BCYaGKMnkNC4wMU=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=eYV3/nCWJEXJODXqdGDeSBSPqZacfrNJc73I+dNGCSzqhdvsU9lc0YprrhoQZPGfzDueSLD0BuWq8WpZKsW/QkxDRG/IgXRLiy1abo+7GHXohzdi6uyrFG1H9+bovl0UsKiv7MQwpMN/SQuuRDVFArvGbEULY1cfWiTuuhp4X04= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=igalia.com; spf=pass smtp.mailfrom=igalia.com; dkim=pass (2048-bit key) header.d=igalia.com header.i=@igalia.com header.b=JTMSwncw; arc=none smtp.client-ip=213.97.179.56 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=igalia.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=igalia.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=igalia.com header.i=@igalia.com header.b="JTMSwncw" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=igalia.com; s=20170329; h=Content-Transfer-Encoding:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=wPIDUIVJ2nP9lVfnEkdaYGQmrY8GEzDvu8kK3HjbX/M=; b=JTMSwncwQTVStw/SMz1hz3l8mk 03oSpQq0aaSz5tt9i/r55qNJQ6wbtTbFd3dghahXjd8lzCs5KRbxMrYTCpFhTqZ0mwBaJBs7ssIeD IgiqyA7TFsYGk919A65zzaLROFDj28SQA6TJcDL1ty2TVwytAF2UIE+0FbWiiaP1AMztcV02BIQNJ SPQ023fB6c1CJAP1XwZs52n867IeUTeK1oz08QJMTp9zL5zahndwADAAZXmnxfbZkTuH/OHWMPaR9 2AsTzo3vnzvKZlOm01uiEV0EtIPTsGb7rEEcarJNJT18+mGD286fMqW9qEzmn8/WSCLMEmQ6hZ59O ePQu2uCg==; Received: from [90.240.106.137] (helo=localhost) by fanzine2.igalia.com with esmtpsa (Cipher TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim) id 1vtPGA-002uyS-Jd; Fri, 20 Feb 2026 13:05:26 +0100 From: Tvrtko Ursulin To: criu@lists.linux.dev Cc: David Francis , Tvrtko Ursulin Subject: [RFC 02/26] plugins/amdgpu: Remove unused current_pid global variable Date: Fri, 20 Feb 2026 12:04:50 +0000 Message-ID: <20260220120514.4540-3-tvrtko.ursulin@igalia.com> X-Mailer: git-send-email 2.52.0 In-Reply-To: <20260220120514.4540-1-tvrtko.ursulin@igalia.com> References: <20260220120514.4540-1-tvrtko.ursulin@igalia.com> Precedence: bulk X-Mailing-List: criu@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Remove unused current_pid global variable. Signed-off-by: Tvrtko Ursulin --- 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