Message ID | 20240216065326.6910-18-jirislaby@kernel.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-68131-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:c619:b0:108:e6aa:91d0 with SMTP id hn25csp339403dyb; Thu, 15 Feb 2024 22:58:49 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUR0tf31GYrlMeSfbTgTrDmfoLF/sAOlVNj43ewg3M/U2bqlbjPoTbosoCBRd/i615DaqM+STxvdN+hsf7PUbnclae/ew== X-Google-Smtp-Source: AGHT+IEDCQGw9t/ekOsm8ad828lU3KRjzXwT7u6MKHou9CrqOjkYdlYP+n2iNlDn/+Ry89pUd5q9 X-Received: by 2002:a17:90b:3658:b0:299:1a41:da46 with SMTP id nh24-20020a17090b365800b002991a41da46mr4369279pjb.23.1708066729660; Thu, 15 Feb 2024 22:58:49 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708066729; cv=pass; d=google.com; s=arc-20160816; b=tXdF6tcHxa1vQvg6qakKDMAdX+ie6u8ERYonTFZPglIzgRnF92aXFmYXN4C+Uh1R9/ tYW3VJEBMdX+Ts7J9WDjHM9pHAwUJJyVQnUHf4KJ9k+30pVpx/B3OQjhrwarAmehbpdD GtF1NUsuPWuF3m7PJ+AkuG5ZdGNvvu/URnNQkjBaJnAKmEabIk+rRpSL0HcAujknWcqq mAEFQv3DZ8fXzNe5VRN9pqoix5cae/jKptHvUVkvjX8P7FkR3silp3+nUXlAlomPelFk 2yOOwYrb/+5FjONbNQjxaNUbI2TwE30jyGWZvHXVDSFj0omI/ah0LT3qMJI7Z32sc3jO dnRg== 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=FRwdFiVGjimwQiGOlXdYMpPIosBqZWbnx0ytI5uhB48=; fh=7ii8bnn+ZTeQOxdHt+mw4UkYyxgNVZW5u4vTB84Vals=; b=j8+HpYxD0um6lKYmhZ1C81fyvZ5TBX1X5G81r/Yjd+qwMrGUn/x3tJLBLNuD4SLvOf ukryQHsUYjgBJnh7B7ov4wUThIYpBSjZyMdHimFHlR54TGI2ozGQBJwH6XFpoo8D4Rh5 939KhBSkYeLfo2SYnzupSHJP0pygSx7YOPDT775KCg8YvJlMFxRaui6SsQuOhzt1CToG 4fwjoBVcjsr9mWGQ4SDIbwAcUjzrs1BnINqoB08pvo7HMvrJayk5ZlP+X/xAWDXR8u/9 maWxk37TMRW71sBn2rW2Hmmnu/Jc6sv/XsiW9sRIkgWYC7nXxi43BDmEJ/WIt/DZ8pY3 tmmw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=CD9yVN3+; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-68131-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-68131-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. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id qi14-20020a17090b274e00b00298f6b0c4fdsi2432520pjb.74.2024.02.15.22.58.49 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Feb 2024 22:58:49 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-68131-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=CD9yVN3+; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-68131-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-68131-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 16992B24020 for <ouuuleilei@gmail.com>; Fri, 16 Feb 2024 06:57:11 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3FF29200C8; Fri, 16 Feb 2024 06:54:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="CD9yVN3+" 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 B33D11EB4F for <linux-kernel@vger.kernel.org>; Fri, 16 Feb 2024 06:54:25 +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=1708066465; cv=none; b=W+hrX6t77Qwut/fZVPMXJlUY7WV4sERYum0DIKQoqEsEmvZ6VUiUspOt1mi46coW5lqVmRgWpu+/r6ieEiBjL6r9XiZCgrSmxzvU172UeuGj/BatLqCGoAx6TQPiffWRh4a7qS14jfVbqczhEqGl2V4J6QlJ6DWbvCtvOnpF/9U= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708066465; c=relaxed/simple; bh=guZaFSqSf3MqQt8V36466MzszKjuXHWltT0kqFLvhWY=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=UB8MW+S/9oQm2PPpLid9r7LDW3zExIuCAzDNfMlGX2vNDK/zHg4qSR36OJV3+3GvAC/didU7h0JPKkt/G+OF0XV2SIVQBhyCToSOeI6RU/nH5zWoBgaJIz8fC6Vaa6b3SzfP5PhFKgXFc8vKui65ZKws2mMOkTD78fCRRHEmkLw= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=CD9yVN3+; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4CF8CC433C7; Fri, 16 Feb 2024 06:54:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1708066465; bh=guZaFSqSf3MqQt8V36466MzszKjuXHWltT0kqFLvhWY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=CD9yVN3+t6Oxc4Su6jO9CPZk5HJwbk1hnn9GS0N9rM148G0KprQN5AW+JnV49jYzM Vy1se9Y35OI1KnxNf8NkYYyTMb1AP7/PAEe0d8Wt186IepDpbl2ApTLK4CXigB3mTe 5QJDpTfy6FvqP/w7B+wbF/I+v2b50yEclWqyQ1T2L1Dpo59qQu7k7jlI+XRU9br8X3 pco+MMsyC+qsoDJtNAp+Z2Ni5C/FOEqLgZZeB5JC3nuJ80Scwa7ig5Z3fGG1dOrPVb LHHjT4UoQWO4CxvjoIo6pT1s22I+pGeB/OWDTbqqYM46jxc8cUxRm+LfWLj3Ycs+rG d6XkQFoG5UK4A== 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 17/21] drm/i915: remove intel_gvt_event_info::policy Date: Fri, 16 Feb 2024 07:53:22 +0100 Message-ID: <20240216065326.6910-18-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: 1791037779144206835 X-GMAIL-MSGID: 1791037779144206835 |
Series |
drm/i915: remove unused structure members
|
|
Commit Message
Jiri Slaby
Feb. 16, 2024, 6:53 a.m. UTC
intel_gvt_event_info::policy 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 e60ad476fe60..b1fd6ed4e34a 100644 --- a/drivers/gpu/drm/i915/gvt/interrupt.h +++ b/drivers/gpu/drm/i915/gvt/interrupt.h @@ -177,7 +177,6 @@ enum intel_gvt_irq_type { /* per-event information */ struct intel_gvt_event_info { int bit; /* map to register bit */ - int policy; /* forwarding policy */ struct intel_gvt_irq_info *info; /* register info */ gvt_event_virt_handler_t v_handler; /* for v_event */ };