Received: by 2002:a05:7412:1e0b:b0:fc:a2b0:25d7 with SMTP id kr11csp928681rdb; Thu, 15 Feb 2024 22:56:52 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWeuMGWBYL5Vh4COx4Wk/4kc521oqks0sT/uF6Va4tkraYjgEj7d4nZ2mmLncIB3wL+ljkuut+bi8EY4VsBjQzy5+nBDy/8j3YsBIj9gQ== X-Google-Smtp-Source: AGHT+IHXTRMAXHmy28d0lZunGDlcfqxNcu+5swVEE2nyag1Sie7YqIQtWyWCkyzzTf3wxIQUNXLs X-Received: by 2002:a05:6512:11cd:b0:511:87c4:afee with SMTP id h13-20020a05651211cd00b0051187c4afeemr2679790lfr.55.1708066612450; Thu, 15 Feb 2024 22:56:52 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708066612; cv=pass; d=google.com; s=arc-20160816; b=E33sIupA2jZQMhaHp9z0dlTiCIZeONp0W1r0z/wJZ7lA2b4wYfhN79NcG5wNOItnUp qCtBHdtWqoLpIZHjNWeMVhcixDHlfYbyN3LBzkd0DiEVOt1qoU2CnlOaMLM4v1OULGGO fUKnW02Oj+nW+nXdu+tKzKLgFn4hvRZUNa0stCSDp4tHyT7fcrRDYJdtvp5APP76KEBo zhDZYkiiWmKoHfzU/9w/Wsog81Nwlo2NWwHirCQzsQt1fhhL97I5q87Cx1LvnpL62WJc amR+atf5tJxjfOEZ/W1c5Y6DG8//JuczHQzT9bjv0kdny/GW925EsHDwARh8jZdhiPua ngRw== 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-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-68130-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id n19-20020a509353000000b00561f7581713si1348944eda.28.2024.02.15.22.56.52 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Feb 2024 22:56:52 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-68130-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; 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-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-68130-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 3435F1F2135E for ; Fri, 16 Feb 2024 06:56:52 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6D2131EB38; Fri, 16 Feb 2024 06:54:24 +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 ; 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)" 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 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: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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) Cc: Jani Nikula Cc: Joonas Lahtinen Cc: Rodrigo Vivi Cc: Tvrtko Ursulin 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; -- 2.43.1