Message ID | 20240216065326.6910-19-jirislaby@kernel.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-68132-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:c619:b0:108:e6aa:91d0 with SMTP id hn25csp339023dyb; Thu, 15 Feb 2024 22:57:23 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCW3HM/5CdSY/2+9qtbV0xAiAEOgM4sCwdPySbqvvWwkiJ4yKbWsb/dJBaiZZa17p/LwTv3CoKgXfKMGqFAz1lMZN8YRSw== X-Google-Smtp-Source: AGHT+IFkcej7cY89Rv7NizA+aaQktABWNZIXTgx0XDTM+dT6ZHdjnYJ28pMGRL/wHkZ65bN63A5g X-Received: by 2002:a05:620a:530c:b0:786:5911:767a with SMTP id oo12-20020a05620a530c00b007865911767amr4401447qkn.26.1708066642768; Thu, 15 Feb 2024 22:57:22 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708066642; cv=pass; d=google.com; s=arc-20160816; b=tIYlqub1uIlIWUBhW7nXFeJiC381Zs/y9vjVkkOQilEdFUM8IKfcrRJtanNutLBPBX pvMXKNnkmgGo0gvISzGk+pBDOwVbNrqZwd8AxuxkqYNDjMjtBxb1pSP70rXPDHr2Auar U7HF3G4i9KHPduADM0SoB5CizXXwWKX6HpDUK8B/1FtD4ntYQ4v2apaCEBu9EbcOtDDA oTwdgF+IWkBOfR007pEF7xrx6vZ6zI0oauFemdXvRvUOmcAjGLxlM/iAWeuKka8zQxrp sttFQbBqgJvI51Ld+Z/xgvl47nxEINU4ul04pbLPw0eNusg/gbJRVJnuJLH0m7pbaB6+ K1QQ== 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-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-68132-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id d24-20020a05620a205800b007873d74380esi1924537qka.330.2024.02.15.22.57.22 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Feb 2024 22:57:22 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-68132-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; 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-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-68132-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 8AB301C22685 for <ouuuleilei@gmail.com>; Fri, 16 Feb 2024 06:57:22 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4350E208A5; Fri, 16 Feb 2024 06:54:31 +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 <linux-kernel@vger.kernel.org>; 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)" <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 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: <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: 1791037687906465041 X-GMAIL-MSGID: 1791037687906465041 |
Series |
drm/i915: remove unused structure members
|
|
Commit Message
Jiri Slaby
Feb. 16, 2024, 6:53 a.m. UTC
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) <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.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; };