Message ID | 20240216065326.6910-8-jirislaby@kernel.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-68121-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:c619:b0:108:e6aa:91d0 with SMTP id hn25csp338393dyb; Thu, 15 Feb 2024 22:55:12 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCU+caDU+VgwAKCLVMplhUOWXz3jjlb+tZRF+mxaUyhfej2pl1Lrhmnr/VMvhD0fo0kwrFNc2UuEkelsNwqVTIk51UU97g== X-Google-Smtp-Source: AGHT+IEFLGzWIv6Y8zUJufZzdLIRMtTO2aBEVJSWQ5fVOTCiDGXCObgTrDLJU07H7lRiF7p7X6cr X-Received: by 2002:a17:906:5614:b0:a3d:75f9:f22c with SMTP id f20-20020a170906561400b00a3d75f9f22cmr3483848ejq.0.1708066511972; Thu, 15 Feb 2024 22:55:11 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708066511; cv=pass; d=google.com; s=arc-20160816; b=nZaVastqjXdUS8KsYfUtxBabmKQDeE7PYjawFDiBrp6HXEelRhMVvmcBXdgvSLsYUI N1UUL8+8xaN227AwdiUCnj5cVxLUPHdmhU7uUsrBq11SGbIjsF+KPtuujhZskJ9YyRZi GhUR2J2ykz46gRUVc5JznVpHeLzn6a+QUdWRFhUrAMoWvLUQsnRdv4kUUeDxp06NEpzh 5R59d0GcTFXXVL0NTqRQgH3sBPj0v5gIF/wiTUgNju/EdbJw920CrONYgAZ82fyHxVDq F+RAvoOMvf2xHkGUcPZbbpLY+S1hIvPYJhjHFxdpoNJR46U6/HZAg5OZt/wJoTHe0CgL PFMA== 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=1bCVSWmH/NTaJ8P2mp6mq+Bw4Y6j+wq3E4NlE1WGME4=; fh=7ii8bnn+ZTeQOxdHt+mw4UkYyxgNVZW5u4vTB84Vals=; b=gbHdHOXE6PapsCRMJBI9B46szowt8PZD7ENLJ8bn423Kof2as9xqQuspnj+SiJDWLD UQH/kTs4A0MLsHC6twjnnRewEaQo+KfUF7c0dZFamOewUKLbtGOqwtNiSGodp0aNt1Ge eqrEJD2MBZGjm+7iXzMiNkYxagHZEm2FviZLdnDoHzs3j55qbMyltdnw0/sOUpT9FB4B OUwhiNCZzmK8rQnFMBqh0IiPqgTDRQKZP+GCxVlao7rSf6mxXTc8xvlLQYfn9WEXZu8q qhQ/W8ZfyEUYJTxLK2J+G8nrR5gCPXywEBbxvIYgusEW18RmZAe6h7OCb3620LAPUZH1 SsYg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="M/L6YYR8"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-68121-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-68121-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id q21-20020a170906b29500b00a3d5ac2278esi788442ejz.527.2024.02.15.22.55.11 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Feb 2024 22:55:11 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-68121-ouuuleilei=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="M/L6YYR8"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-68121-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-68121-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 934DE1F252DC for <ouuuleilei@gmail.com>; Fri, 16 Feb 2024 06:55:11 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2850D1BDF8; Fri, 16 Feb 2024 06:53:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="M/L6YYR8" 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 6E2831BC46 for <linux-kernel@vger.kernel.org>; Fri, 16 Feb 2024 06:53:54 +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=1708066434; cv=none; b=WFrKtU5R5TnUloWziHUQekR1C3B/RvCk0T7ly1Hk0w+5G5DcCZGA6rdKIJukFDOyGrUI5rt/85p2AoKakIgsLiv7+a80uuhHVVNgZAw22QPLzL+CyPTzW33lh1tJZaQ7GHdTQGZHECxu3gxdVfXLsXC4uRFVuf9zDRyYah8PJq0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708066434; c=relaxed/simple; bh=OMwiUGzZhHIC9yKcus+0Ro/4xBOBkZGCI2WykwcHxec=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=hqmAt8zXBz8fiWG/guapbmx3JoTt9SCL3YWsvMWDvQ4zLguqr5qz38KOGeKT985nBI6n2rOt29L0vMqT+LqoxkKKxzrrNueVdP6AEhCWHa9tEEbCSquc9M/eaObR4b+F1Ty9BlpUhy2YB9Lym3zGvqyWHvzoN+IqoxoTiX/y+Yc= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=M/L6YYR8; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1638AC433C7; Fri, 16 Feb 2024 06:53:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1708066434; bh=OMwiUGzZhHIC9yKcus+0Ro/4xBOBkZGCI2WykwcHxec=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=M/L6YYR8D3lmY2K9Pmpzprip1CG/noGquvl9fgyT0V71zUn97O8v6rljtSk+IB6+U I6MTnvOhmBybARhB1manPvdvX8CtCUXLKkouXx/66VqqGWwKhofjSM4HmVxm0SASjK 0o/AbW2l+iWAo1n1e1s1qUp5WqKnjl7mFUQG787geHYKWyyFp7T8xYgDSNjBDZKS34 rCyGoBCD6K2FeRfef2OBdrTBvhEJOdy+nhwxClQUssTqziUTPx6gmGXiW+WRXpMkIo URd4BsUqbJsoKZstUGmrXFEwBHvS8LDAMe91AO2SQeRsMo2LyLC1b+uBhFe9/Nq4o/ 79nI9WRxWH2fQ== 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 07/21] drm/i915: remove intel_vbt_panel_data::edp::initialized Date: Fri, 16 Feb 2024 07:53:12 +0100 Message-ID: <20240216065326.6910-8-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: 1791037551059139049 X-GMAIL-MSGID: 1791037551059139049 |
Series |
drm/i915: remove unused structure members
|
|
Commit Message
Jiri Slaby
Feb. 16, 2024, 6:53 a.m. UTC
intel_vbt_panel_data::edp::initialized is not used since commit
9f0e7ff4b366 (drm/i915: fetch eDP configuration data from the VBT).
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/display/intel_display_types.h | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/gpu/drm/i915/display/intel_display_types.h b/drivers/gpu/drm/i915/display/intel_display_types.h index 01eb6e4e6049..e0d291dd7d2d 100644 --- a/drivers/gpu/drm/i915/display/intel_display_types.h +++ b/drivers/gpu/drm/i915/display/intel_display_types.h @@ -327,7 +327,6 @@ struct intel_vbt_panel_data { struct edp_power_seq pps; u8 drrs_msa_timing_delay; bool low_vswing; - bool initialized; bool hobl; } edp;