Message ID | 20240216065326.6910-10-jirislaby@kernel.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-68123-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:c619:b0:108:e6aa:91d0 with SMTP id hn25csp338505dyb; Thu, 15 Feb 2024 22:55:35 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWErHrt5NIbLH/RfjGN5aYPJcRqSOFXE9Sd/7Beo13/dL/jNQ5vEa6FzcTS+r5xe+P7eRGiO96a+q4F8o8SVGhaUWMc2w== X-Google-Smtp-Source: AGHT+IGKJsj89PUcBc9R6ORvx7P6IvNhG9xpQi45ivU+ll/OkZnaU/vb2jeYhEvTUHPmFi6t4TzH X-Received: by 2002:a05:6214:4116:b0:68c:7c38:6cd with SMTP id kc22-20020a056214411600b0068c7c3806cdmr4785557qvb.36.1708066535149; Thu, 15 Feb 2024 22:55:35 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708066535; cv=pass; d=google.com; s=arc-20160816; b=Y4xftweNbSFd0xWGe4PjUil3Vmk0b2W3UfxlTgY7dirfE4JBPN2jqodwx0EFRtPij4 r/jJZ6l09Bs1wOX1h35c/MYEgsiUxVhnDZUGcBGKKvwW5/v713j9wm0dZfRgdF3vIMPv Yok6M1RSISTX0EkGhe0dHhMXpsuameIgjjndcYH4GW9z9dUG4aPY1gu4BPBCIS22YzhO uYNJjtHXJYaojGq0r9QXOyVenldVTrorYTztfCd641FRJNyiAF2KSmQghViL+j8rieGr yMr3phs6rwZP8p7FuEDPzeA2/R87kq3+IlN+A//gNKODROeeXoypEdtkkzGTJWbaC9mW HPTg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=6Di1C6HRhkDh6fNt7Gkr1OFrmY1l7JSFR0IxtDDb5eY=; fh=7ii8bnn+ZTeQOxdHt+mw4UkYyxgNVZW5u4vTB84Vals=; b=RegCcZZFbCI8LoZQGjBuqG5r5kCyEJPfG9SXZVPhLF9bm7VZmV3yM82MMbiKV4P+4b jqRLwH09ia9tblu6Fewkz4aWPAbPDXSDikWuB35K+iaMb+HhgrQXc0H2phMfY8LdFGql i/71OAOmAm6BwqkawZC6RjP/cqorUHShL+cFUZnjm4+NrpLl/YunAqmGNwr+FPRAgOij i/aUsn2SsuCVPsnA/4owy+WHFwfu4hpngR+H/i46quh5GN5Y8zaIAxlASmVtl1mXhVHL /rklABgSoYIgGsez4WdZ82+DSTKPzbLIX63bEf6egva2pKELFtpsN9nNdY4PgyFjeapv kxhg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=MYhfAahz; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-68123-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-68123-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id fq9-20020a056214258900b0068c8c29bca6si3459654qvb.340.2024.02.15.22.55.35 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Feb 2024 22:55:35 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-68123-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=MYhfAahz; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-68123-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-68123-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id EAD801C20EC6 for <ouuuleilei@gmail.com>; Fri, 16 Feb 2024 06:55:34 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 626331C69C; Fri, 16 Feb 2024 06:54:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="MYhfAahz" 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 <linux-kernel@vger.kernel.org>; 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 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)" <jirislaby@kernel.org> To: jani.nikula@linux.intel.com Cc: linux-kernel@vger.kernel.org, "Jiri Slaby (SUSE)" <jirislaby@kernel.org>, Joonas Lahtinen <joonas.lahtinen@linux.intel.com>, Rodrigo Vivi <rodrigo.vivi@intel.com>, Tvrtko Ursulin <tvrtko.ursulin@linux.intel.com>, 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: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1791037575311748536 X-GMAIL-MSGID: 1791037575311748536 |
Series |
drm/i915: remove unused structure members
|
|
Commit Message
Jiri Slaby
Feb. 16, 2024, 6:53 a.m. UTC
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) <jirislaby@kernel.org>
Cc: Jani Nikula <jani.nikula@linux.intel.com>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Cc: Tvrtko Ursulin <tvrtko.ursulin@linux.intel.com>
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; - unsigned int id; - spinlock_t ctx_lock; /* For add/remove from ctx_list. */ struct list_head ctx_list; /* List of contexts belonging to client. */