From nobody Sun Feb 8 14:10:31 2026 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 D71F01C28B for ; Fri, 16 Feb 2024 06:54:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708066440; cv=none; b=NAsRdqtplkf9LKmx0ET1zsZVr7KRQRVmdP1PscthTm4tAx1Z0scXr49FOfl9At7u5yEadGKTRlporuMxia57d36ECVPGMO7wD5/65xk/7bHhbVs0+lWOlCqRcH1RcroU0JOngfrx5bL/a9THe2j1+rZoQDZkAk2/zAA9aoATvl0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708066440; c=relaxed/simple; bh=e3JLcK2Zorv6NzoLDXNqOtoctfvRfUkVpj0zHb6Uma0=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=SbCTRT0gVoy9PlE68Rlj+hSGE2FBkCfpCg2OtSCv3+chZV75yIi+pPZbRLvYI3FYK+GJDGkwYUf3bKD3972TzCKx3bHzW1F+KALx71OgJLQWQAIQg50u4/e+4gzzTeUPvA6lBSAO++deNL0QuoWzha58xaoLQg9ytvFD93khjxU= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=MYhfAahz; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="MYhfAahz" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 873C8C43390; Fri, 16 Feb 2024 06:53:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1708066440; bh=e3JLcK2Zorv6NzoLDXNqOtoctfvRfUkVpj0zHb6Uma0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=MYhfAahznJHHc68nDGRIoxA2wQ6gIDbhrKn+7x4NtBDivZwEl1JX6AcMoyyufiVcp AXtdHNVVfwW/c7PEUNYyy3OCjLq/uonp9U+Y5zx0v0R7H3b9QyFhKfKrjVfw25bgNC vRDgrr78LIDkkkqOTS9LV4DbW0LllabFa+IrTGrx0n8P7YMuvQl6LCCNjFzMtIQMrF YnIFg25kvKFlZndJGBmmcJFm6ayZIWAIem3QMmRN0ydO0++zMkRbFz0xQYkXQ1B+5F JINaZHCT7vopkXJvrkhhRO/ejiy/1W9JMmUTK0JGKwJfalNn7vExyRzv9vnzl7Ft8T PrrAqqQz2GcAw== From: "Jiri Slaby (SUSE)" To: jani.nikula@linux.intel.com Cc: linux-kernel@vger.kernel.org, "Jiri Slaby (SUSE)" , Joonas Lahtinen , Rodrigo Vivi , Tvrtko Ursulin , intel-gfx@lists.freedesktop.org Subject: [PATCH 09/21] drm/i915: remove i915_drm_client::id Date: Fri, 16 Feb 2024 07:53:14 +0100 Message-ID: <20240216065326.6910-10-jirislaby@kernel.org> X-Mailer: git-send-email 2.43.1 In-Reply-To: <20240216065326.6910-1-jirislaby@kernel.org> References: <20240216065326.6910-1-jirislaby@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" i915_drm_client::id is not used since commit e894b724c316 (drm/i915: Use the fdinfo helper). Drop it. Found by https://github.com/jirislaby/clang-struct. Signed-off-by: Jiri Slaby (SUSE) Cc: Jani Nikula Cc: Joonas Lahtinen Cc: Rodrigo Vivi Cc: Tvrtko Ursulin Cc: intel-gfx@lists.freedesktop.org --- drivers/gpu/drm/i915/i915_drm_client.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/gpu/drm/i915/i915_drm_client.h b/drivers/gpu/drm/i915/= i915_drm_client.h index a439dd789936..2e7a50d16a88 100644 --- a/drivers/gpu/drm/i915/i915_drm_client.h +++ b/drivers/gpu/drm/i915/i915_drm_client.h @@ -24,8 +24,6 @@ struct drm_printer; struct i915_drm_client { struct kref kref; =20 - unsigned int id; - spinlock_t ctx_lock; /* For add/remove from ctx_list. */ struct list_head ctx_list; /* List of contexts belonging to client. */ =20 --=20 2.43.1