Message ID | 20240216065326.6910-17-jirislaby@kernel.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-68130-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:c619:b0:108:e6aa:91d0 with SMTP id hn25csp339368dyb; Thu, 15 Feb 2024 22:58:40 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUvl6xtdMIHYjnJuA8Y6bgclEJR9OUCkuxoZlFO4g+P9Ot1MW2oYtw5yLLHvGLWXR/G2m1kvL699CbRKKhucviCCMBU2A== X-Google-Smtp-Source: AGHT+IGBS1ZYhFEZtr3pNAAokhPVJArBDgYy4ULYnQwivera2titb6zdyiB7S+pqhMkkv5G4FIGT X-Received: by 2002:a05:6a21:3941:b0:1a0:885e:9706 with SMTP id ac1-20020a056a21394100b001a0885e9706mr1317536pzc.18.1708066719893; Thu, 15 Feb 2024 22:58:39 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708066719; cv=pass; d=google.com; s=arc-20160816; b=BqIUqp6mhK7V57w73Na8RlKh/US5gWzjhWY38cmC25o0R/HGNFbeYY1N7xvBohsXEl nCMps9BaA3xdQvC6EvTTN2FT8nGO/ucz4R4d0kLZWc05vGxGXjiq06q6tgqARtmvAG0N O8R95BqbvlZ1A8DMnkJ/xAttmT6REuoyql3v5LfLA4U0b/rWYMkTV0pU2UNYACDNncGd kE1yBuKl6uFw+hCxyVRHKiERLpialU+KXsC0UxkP6MHl7YrNZZJiyC5CytfoO/tvN6v/ cSFfPiKgkK8XiPHvwf3XQ6Tl1KgjRILAq6hjT3kGsm8aDgZL4cyMkIyWtHG15pnmVK/y kCqw== 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=iVrvuMprdWN2OxtdLUAunEFvyBtPgwAnjwO2RwxSyl0=; fh=7ii8bnn+ZTeQOxdHt+mw4UkYyxgNVZW5u4vTB84Vals=; b=AYlekZvAT++LJEd8W3fnIh3INTbm2rJQbQ/cl2M1QvLWUj48eIz7FTJZEbW5+3Setb cIr7b5wFrFnWUGw+AA2DRhBwImrDxhNbyS04FmA5W7ZEagR5zs7FEuq8L8JimTnshuyA 44HuMgEReXVgJLhk/92atsVsaegER7jBckWD/WVvXSeGBUyNZH+bVN52m/TOhjtkjFFz vVB31tjiYgzw+r3pvib1QN7EmbP8qE811HBSPS1n43VBninx9eYks7w+TVcH9i2Wa1g5 bkPphAA8dIHrcsaWXm7gvDq1xkOWI3x355XjMAvL7tvBBXJtYsMP7haUmxBOXjhCAkpH dxbg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=sTepzBhp; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-68130-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-68130-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.39 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Feb 2024 22:58:39 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-68130-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=sTepzBhp; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-68130-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-68130-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 74967B23FDC for <ouuuleilei@gmail.com>; Fri, 16 Feb 2024 06:57:00 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 20ADE1F922; Fri, 16 Feb 2024 06:54:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="sTepzBhp" 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 905F01E888 for <linux-kernel@vger.kernel.org>; Fri, 16 Feb 2024 06:54:22 +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=1708066463; cv=none; b=uzob/XqlOWCw28YPiZKMsX72OVILz9yYuFBdfGztJBQ7XuJ7LvpSufFDGKdZGRt0l8GX5ehbmXqr+9MCVnoz9to2A6T8JVeTF7S1D3tqqq3ccrc+mMIClUNXJ0a1TRySNUmc6ZjqFmg/1ARxrjq9r/6N6mtTa5apCCFXlH7btWw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708066463; c=relaxed/simple; bh=76rc2RXrSGYrSj0C5tpAcUBDgwB+L+6GnchV2Cb1TXk=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=RylIRBoBUqliHGvDasJpmvcKr1Txpvy5pcA4X9zJ9zpHY5OuZSnWBoydrmQLYKJ1zzVyeK8W8NIFlctPv12777qkJLuur+f7etj9av/decAX+6sp+3ehmOq1d/BW83hY3mJKIvkvO8WQonGG63Yn+iAtNKjE/RDGlSepXAYhjbw= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=sTepzBhp; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 477CEC43394; Fri, 16 Feb 2024 06:54:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1708066462; bh=76rc2RXrSGYrSj0C5tpAcUBDgwB+L+6GnchV2Cb1TXk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=sTepzBhpub0N6GDHAWQ92fg6hamVDAWFkhi1H3OtEdwVXR6BNgFJkIPVRVIhczNtY ONzylcaA0wElfNFJcdsPuk0mkKJNZDECU+nYLVaAlA4GAyU6pQbIaIXE6ClA0wSeR5 oC/eBD0nRHX5kZ3wPgWaVZqYwtLBaa4z6OrnVatq7GWMoN84XmAupCV/BadcabFxVV D662aciGIIKh06bobhx5cHhSObz3FGi3TC6b0Cm5z2SV7asXpY4IFYWoeI5y/OkhA7 bEiwXCwZnbh+F2O4Lg9k6m/BfLwyF+I+eMm97cAh1nrU2UBbLHoLnd9hI0XzuEJ4lo AVYPt998gh00A== 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 16/21] drm/i915: remove intel_gvt_irq_info::warned Date: Fri, 16 Feb 2024 07:53:21 +0100 Message-ID: <20240216065326.6910-17-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: 1791037768740376434 X-GMAIL-MSGID: 1791037768740376434 |
Series |
drm/i915: remove unused structure members
|
|
Commit Message
Jiri Slaby
Feb. 16, 2024, 6:53 a.m. UTC
intel_gvt_irq_info::warned was never used since its addition in commit
c8fe6a6811a7 (drm/i915/gvt: vGPU interrupt virtualization.). 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/interrupt.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/gpu/drm/i915/gvt/interrupt.c b/drivers/gpu/drm/i915/gvt/interrupt.c index c8e7dfc9f791..336d079c4207 100644 --- a/drivers/gpu/drm/i915/gvt/interrupt.c +++ b/drivers/gpu/drm/i915/gvt/interrupt.c @@ -40,7 +40,6 @@ struct intel_gvt_irq_info { char *name; i915_reg_t reg_base; enum intel_gvt_event_type bit_to_event[INTEL_GVT_IRQ_BITWIDTH]; - unsigned long warned; int group; DECLARE_BITMAP(downstream_irq_bitmap, INTEL_GVT_IRQ_BITWIDTH); bool has_upstream_irq;