From mboxrd@z Thu Jan 1 00:00:00 1970 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 0FB632E7BD3 for ; Fri, 10 Apr 2026 18:55:34 +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=1775847336; cv=none; b=clvZAHkKAYWEdubGSXR8KPze/+Ca0p783313H4cd+CYdExvw9SaeNcYwufUD1pFLKx+UqtNIjG15IfedxzSdcEd4QlAfpk9WaVpr3whdqpdoTJGLlgPFE5IMjAjBUuNsLh9wRr7FnBRNswQxPhEt4d/SDdths30hHthvfUXTlEQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775847336; c=relaxed/simple; bh=BhXGsyDan0/9i9HrM5litKUmIJCiu7Y7ZQUTcqohNjk=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=tKrett+iH4uPA0kEUFlJDrrVQ2mEgFHBX7y4ChF7gxZGiXbX7PNFmVRYgIqSgs0vgHk6TOHV77o5zDQiVUSc+ZbL43wgazAsUBxLE4rbZL39fQ4gsi/1ClCdE+NC7MfBrq/wIAtOaaipuk8Uty+yBSEM4HaMFIxisOl51AVzZTE= 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=BzK41vqB; 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="BzK41vqB" 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=FUpLxWcijL/gXZhla00Nw1tBWM9rngRMOIeOvZqhKkY=; b=BzK41vqBl9z2pU0o4hprLh5zB2 1L1w8mbnkTBmXXTF8Zq4pGbuxS5WWpEWpDhnifF0uRCtKsm//rpHCS+cisOoOIzf9t8ivPIgePJG+ axKH4ebdoVq2ZidIfkaTHW3lxrGzax1tJ06n11sK9H1wVQ5AupuNMaKBkCf3bT02nAm36aKhx40yI VTsz3XF0rlCIjRf4xNT4FQWMAS2pcEPIAckDra4XlkypLkFxnsKIOPK9c3VmE+3EEATEI75LW0ILE 7OJqujvyXqGP56nDrHjRjzcvXMRyqN3h1YHvqtaxcYckMVVBWWV1JYmmXLxvkD9ffNeRKcbPf3B6D 1PfUkmfQ==; 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 1wBH0u-00EWTR-TE; Fri, 10 Apr 2026 20:55:32 +0200 From: Tvrtko Ursulin To: criu@lists.linux.dev Cc: Tvrtko Ursulin , David Francis Subject: [PATCH v2 02/23] plugins/amdgpu: Remove unused current_pid global variable Date: Fri, 10 Apr 2026 19:54:53 +0100 Message-ID: <20260410185514.51153-3-tvrtko.ursulin@igalia.com> X-Mailer: git-send-email 2.52.0 In-Reply-To: <20260410185514.51153-1-tvrtko.ursulin@igalia.com> References: <20260410185514.51153-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 Reviewed-By: David Francis --- 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