Received: by 2002:a05:7412:1e0b:b0:fc:a2b0:25d7 with SMTP id kr11csp929030rdb; Thu, 15 Feb 2024 22:57:57 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXySJCS8KLlwX7w12FEW0JpFC9jp2Ybd4WzM9P4hIka90MDthF9WrDFvkuohxcHHS6IxX9Z52MAlimPGrhxuUbOXKK3MPeoiXa9dC+92w== X-Google-Smtp-Source: AGHT+IGTpeESWG2TfSlESURdz7N3Q6N9WEZ4UPd/VYOd24fP9kA2FCC2WlSk+SWLdJ/Zujxkbrxj X-Received: by 2002:a17:90a:4dce:b0:299:3f5d:b5e8 with SMTP id r14-20020a17090a4dce00b002993f5db5e8mr6528pjl.20.1708066677498; Thu, 15 Feb 2024 22:57:57 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708066677; cv=pass; d=google.com; s=arc-20160816; b=ayDZ4nLFPNHM5Q6uWaHGwOj9rLzFqFo2aWJaEKxs2D9ay0BaAiP5QQI/0Los6U4DT/ qbJxbwRWEDo6wRKD0FSHJhACT07mRGvMO6Wjr2bYKuTd+puAqp3bTauRghp1QAMljRHi f/RaROzOpsOBeCNPgT2EqGihR+5fVbUanOwmOOfqiMqobim0i9HRn0h9RgCCOSrYwapK AD34Bq4qCc8KvPE5oG4R/9X+rUHldg1rb8jDSGJCXLyOos13xt0ORwb41gFYB+gafEbU IBq5iWoWwZxW2Ju7/EpNBuEoS1VQ2jOLFWrR44MrywShu1jOwVnW0BgL3uylEW9UHKpm DEvQ== 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-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-68127-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id ls14-20020a17090b350e00b00295e3413670si1751237pjb.131.2024.02.15.22.57.57 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Feb 2024 22:57:57 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-68127-linux.lists.archive=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-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-68127-linux.lists.archive=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 A9A4CB207CF for ; Fri, 16 Feb 2024 06:56:16 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 066FB1CD38; Fri, 16 Feb 2024 06:54:14 +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 ; 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)" 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 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: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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) Cc: Jani Nikula Cc: Joonas Lahtinen Cc: Rodrigo Vivi Cc: Tvrtko Ursulin 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]; }; -- 2.43.1