Message ID | 20240216065326.6910-14-jirislaby@kernel.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-68127-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:c619:b0:108:e6aa:91d0 with SMTP id hn25csp339222dyb; Thu, 15 Feb 2024 22:58:04 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVppD++Q5EGadEEluGLAPEQso8ydOQU20dMyzmhLzqWhjEd9RN9J8RbiiH0UA0Es/SGiltmJ6IQSvRhdI7SI3HrE7p4Tw== X-Google-Smtp-Source: AGHT+IG7V5PffAAitTQ6YZSD3F97jdpQ4UJ1XMaGD+bGZAFfC314xZFQpD0iHdzkHAaOW9dbdX2u X-Received: by 2002:a05:6a00:2e1a:b0:6e1:3cdb:76f1 with SMTP id fc26-20020a056a002e1a00b006e13cdb76f1mr1062232pfb.20.1708066683799; Thu, 15 Feb 2024 22:58:03 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708066683; cv=pass; d=google.com; s=arc-20160816; b=nnyLK84GIFUapWgfvM9qrm6jURIbbqm6+Hb5xKijYALmxVwJ1/sEv6mKnI1FNycnCH unC/wmg3rKupWrdBeDjdeF2jrrol1WEaRs8tarCkLdFS8/H9kLqxqhDQqpBSIRPJ8Vw7 XnTLmc7G3BVEPrjZoqbAzcxknLJ+arzOU99KK+I9YI0mIsRhh2hWsil13gWeiEtkzd/a +TOetiAKyVzSsc7ydDAqUZvujrLO5wRU2ANMNpsECdw97UFcFayxMOEyJxrJpqqyKUPF oNomr4GBc25Axbjjm1ywGf+SGan0RGn1rvnlMmZOA0pt9WOsFP92/N10hocJMhmqw1b/ VTZg== 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=sfKvCjOxEloSEokX3hCJlcYhlMwc55DsPcPKthC4r7w=; fh=7ii8bnn+ZTeQOxdHt+mw4UkYyxgNVZW5u4vTB84Vals=; b=XgBhmnqBqYz/j3oCJO2ktdeBjL36Z33cDPVqf76k2Kl91fpUR9/izSMy8h2/PvSCHa aWOUyy518vE1DixA04YagSG5hx+vqE7zyUNOaAbexcIpCrTo4qmedoKVvvPlFvw3zdfH vKQsihyqgpP5Sln00Ar5qss5PPKxrfVFFCqGUat+pD+KKIVqSaS6rVy24JV1s8bxTtNL ZfjruAmb82+NSWmkfzLdJZOGmddSPbTduaIT9vtF8odemBGyEnmAGKtZUZQD5HV95u4S zavBiscBrwDzIMvyrItaYc67gkMFIIvUJvgpDNFYQh209gWMOVHtT09JEsAjGN3Zdfl/ 8IWw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=FNZN1U+W; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-68127-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-68127-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id f7-20020a056a00238700b006e13dbeb8b6si573627pfc.302.2024.02.15.22.58.03 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Feb 2024 22:58:03 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-68127-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=FNZN1U+W; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-68127-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-68127-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 5CF08B21AA0 for <ouuuleilei@gmail.com>; Fri, 16 Feb 2024 06:56:23 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B61741CF94; Fri, 16 Feb 2024 06:54:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="FNZN1U+W" 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 2D2C81CD2B for <linux-kernel@vger.kernel.org>; Fri, 16 Feb 2024 06:54:13 +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=1708066453; cv=none; b=ON1xXu9zJ62xAqpOqUzaLvQsaFak0kuyeVj+Dx4Z4LYddOf8coOA7hvDFd3PJ4EbJSG02AjfpTDgny0LYttPbuFhpESqLZZzekzJo+xF4LHeET/4TOpwBpHxHw4SsCZljd+RjRYlfb3ijRTZ3bDRDaIG6dGy9ntqL46ZkBKx2mA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708066453; c=relaxed/simple; bh=TktpFXRJz/ldFZumo7iwlZkQPrtoXAs7MIXqQ9AMx+A=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=GtQqnUaL8epq24qCHq2Ewrq9ZHqzFQ84CPyZI6Y4uH8MAC4TgP1jDn8rwP7H3QZeZLzC3eSaimT4Q/F6YnTmc7k0wI6HM15Yb6suebXrpYwOKTGjyH1IXVCCUxJ+aP6WxpotVEiahoxDlIrlq61LP31N/QWL6kDEQ8Ll4qPF1E0= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=FNZN1U+W; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 665B7C43399; Fri, 16 Feb 2024 06:54:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1708066453; bh=TktpFXRJz/ldFZumo7iwlZkQPrtoXAs7MIXqQ9AMx+A=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=FNZN1U+WIzhHHPi5oj6KocxGGyE+DAW/vy1cSJoV03TW0rpM7j68r9Y0/KAC/GZHL Cc7oh1TJ29x8OBhQwOJt5brlWQ/o6m2uVrxXMyq42QtrwEfReN/C7DWGa1sN5k2A/p weXkEzT8r55DVqJyD9izVzNfObcpkZ6qQSXmxOrM+6HDtO8D+J1FLoo5iG5FY4eBy1 kZXa9mlRuLSAwi81J12G2RmwQe5PCi2CCqtJuUYF84b4pewjVi1ahvyTQAZrJehH4U nWqh5wRFZ1ND/RTTd+kXNm8ZpcDC24td26oInNolWGYhN/uupW6kmehBSbWhM+47YW rBX2+8omIIPHw== 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 13/21] drm/i915: remove intel_vgpu_opregion::mapped Date: Fri, 16 Feb 2024 07:53:18 +0100 Message-ID: <20240216065326.6910-14-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: 1791037731107591392 X-GMAIL-MSGID: 1791037731107591392 |
Series |
drm/i915: remove unused structure members
|
|
Commit Message
Jiri Slaby
Feb. 16, 2024, 6:53 a.m. UTC
intel_vgpu_opregion::mapped is not used since commit 367748066eeb
(drm/i915/gvt: remove enum hypervisor_type). 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/gvt/gvt.h | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/gpu/drm/i915/gvt/gvt.h b/drivers/gpu/drm/i915/gvt/gvt.h index b6fe17f1a16f..8e5d696fc79c 100644 --- a/drivers/gpu/drm/i915/gvt/gvt.h +++ b/drivers/gpu/drm/i915/gvt/gvt.h @@ -118,7 +118,6 @@ struct intel_vgpu_irq { }; struct intel_vgpu_opregion { - bool mapped; void *va; u32 gfn[INTEL_GVT_OPREGION_PAGES]; };