Received: by 2002:a05:7412:1e0b:b0:fc:a2b0:25d7 with SMTP id kr11csp928813rdb; Thu, 15 Feb 2024 22:57:16 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUK8KoywFjis5LD9+G5UgCZOPb6S/fi9kqmW5f08VSP78P8pCgTiEQXIoZF+7/CNiUWZ3AEpEwGkNDnT72npGTtBmnt1ujtpfubgk8gNg== X-Google-Smtp-Source: AGHT+IFeuNA6X5Lfvc9fDrJhqJ6WliZwXe8zll16LcqJuWNviPHzbs8s+s/tSwEM3vsLe2Jgb4Rz X-Received: by 2002:a05:6402:646:b0:560:1652:e7cb with SMTP id u6-20020a056402064600b005601652e7cbmr2996825edx.16.1708066636600; Thu, 15 Feb 2024 22:57:16 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708066636; cv=pass; d=google.com; s=arc-20160816; b=Qj72HbrnJ570DRYP2gsowfTwXAamBzcb7ENQl47YFqaHak33bpoqfN1krlO83lECgk CDVWlEGmzH4/jsxwk9s7J84NKXwCu1vl+CcB+oruuZ4cuImBdvIC36qRmDf1l/6oRRYd n166VckgtQ50ofas2UHsADWa//4D+mhyVJBMA/tfh5jYpYXBVezwSdShsCPT3Iy2L6pr cWKdKyx0MpTDMB9cyULXE22QRVFt7I23V2RbPsjvEhIaRgOKeKpF+ajLbgk5mQe11r2g 4fB2PrB1opAKZNRihBw/KgFfHWuVTQpD/Kl1Ia4O3pAFrBCg31CMOjYTUeK6MvCrlUoZ WvIw== 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=SiWM5qIluQfoAffSqOm8qNt5QXNMn9TxT1v54TqHQeo=; fh=7ii8bnn+ZTeQOxdHt+mw4UkYyxgNVZW5u4vTB84Vals=; b=adzoNO1wdZR/Gc5CeQAQWHf961J1XQvtQedZu692tPOJvrxujx/Qe7niJZR9u28p4J hFQ3tLES4Qj/AEF7rpnqJZffZqLD3mKy7PX2tArJ4UhK5tYqV4X8l+nIokYO9C+x/10a YJKTLXPnjZfFfCRsXFHSd0VRr3fWDz5jtEFTZzG8ANqVc8Lxl1xtJwoWj4lfYuGr+9b5 YN/Rg2+C7ZFcgonmJYt7JhadcTOZgs0i2AuhYcT+1frWyzTplVXN/2m7eYmw7eJy7wWW 8kGm4W5bwp9pv3aJv6cxDzexlJc+tzE3iiXcUMmO/P3D36xJFrxX7ibUXZP8EaGZZHzL DHww==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="CJqCV8/y"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-68132-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-68132-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 b34-20020a509f25000000b0056401fe7ddasi14870edf.465.2024.02.15.22.57.16 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Feb 2024 22:57:16 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-68132-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="CJqCV8/y"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-68132-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-68132-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 444421F236BD for ; Fri, 16 Feb 2024 06:57:16 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 78C9320314; Fri, 16 Feb 2024 06:54:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="CJqCV8/y" 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 A7668200D1 for ; Fri, 16 Feb 2024 06:54:28 +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=1708066468; cv=none; b=AJRv2XCiMqDQb4oC2VWsPb93QW9wCpdTW46P1NILTxZRQJlavPw7KsV+T1Ng5vGXA2xLXyxfQh/bkV8zYuTZzPf/v7YRsuLdajhXEcqx5ZySUxCLFE9+IEr/6cXPPZ3qBT2oZrNqYH928QF/fnUf+GpfhqivAqYbeZ/eQlb00dk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708066468; c=relaxed/simple; bh=FdrONz3jqnEbBJVqtq1ykjLmdW7prwTBxhfQ4GglgTs=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=IWBpmtIIxdiIOtjzH7YLhFmZD3C57Z9YVbBCfbOtzoFspgztEaj/DM5LM4vVKG3FTJ63aAKQLjizYQ3keu2ci3jYFYkVzGhEh8cobcadVM3Ur9UQ4ZkvS3GgnIluMWyYSFP17RG03FXcgcL4t0cApKnyQxSZExovr4fWPX6yRp0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=CJqCV8/y; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 39BF0C43390; Fri, 16 Feb 2024 06:54:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1708066468; bh=FdrONz3jqnEbBJVqtq1ykjLmdW7prwTBxhfQ4GglgTs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=CJqCV8/yNzOiPeXngxMZCidOZ2fEeSBe7MNvGGeKcUAZcvCE9A7SQK+hJG4s9kfjw vXE2Uu77p1raT/HW+nbRV6hkej2H7N6zAg/8ZrC4Sr5o0SmceBZC+XJ46r7StE3KEl o6x6NeyQnKKBz3pCA/p8VXxhY0h1NeMQaSCF+EAbouvlthpTMewOWOvJSyKRJn/Eor typPJkEulN5DS6e3TeD/PgzkF0HgWDVUMwZSgSrCVIGg022tGWmbxmLsDqTzuD2rMb ATAlZwiezvB5qOdZivlJWHAyhb570/hY1KpCUnYsvGhb6ZgQFNCww1uqIAhtzN2ko9 BJG76DnQun4/Q== 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 18/21] drm/i915: remove intel_gvt_irq::pending_events Date: Fri, 16 Feb 2024 07:53:23 +0100 Message-ID: <20240216065326.6910-19-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::pending_events 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.h | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/i915/gvt/interrupt.h b/drivers/gpu/drm/i915/gvt/interrupt.h index b1fd6ed4e34a..cd214be98668 100644 --- a/drivers/gpu/drm/i915/gvt/interrupt.h +++ b/drivers/gpu/drm/i915/gvt/interrupt.h @@ -187,7 +187,6 @@ struct intel_gvt_irq { struct intel_gvt_irq_info *info[INTEL_GVT_IRQ_INFO_MAX]; DECLARE_BITMAP(irq_info_bitmap, INTEL_GVT_IRQ_INFO_MAX); struct intel_gvt_event_info events[INTEL_GVT_EVENT_MAX]; - DECLARE_BITMAP(pending_events, INTEL_GVT_EVENT_MAX); struct intel_gvt_irq_map *irq_map; }; -- 2.43.1