Message ID | 20240216065326.6910-4-jirislaby@kernel.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-68117-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:c619:b0:108:e6aa:91d0 with SMTP id hn25csp338145dyb; Thu, 15 Feb 2024 22:54:24 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXUsa5j01H7jY8FBpIWgh/kTnyjv3gPlMLyi+icT3XoGGlibTjkWJiB5evGgorjvuPG/lE19pAztN92C5CT8dbdUisWeA== X-Google-Smtp-Source: AGHT+IFO8kJbLKXAU0qhdK3lZykfXrXjC6Ugc80RVS6BNKPUCCGq13sVtSBbYB1Uz5IWzonHLaHx X-Received: by 2002:a17:906:1c8d:b0:a3d:16dd:307c with SMTP id g13-20020a1709061c8d00b00a3d16dd307cmr3061303ejh.5.1708066464075; Thu, 15 Feb 2024 22:54:24 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708066464; cv=pass; d=google.com; s=arc-20160816; b=zay/I1SoHQWicUlXuwBXTeMj17TX2QJkLgMGfdSX1sjQ0uf5Gf+6veZRwn3cW590EP pUKwOIo3FhdEM3BygnDH7Gta3gql2gMVESZmAzrycwtb2LuZKtmmbg6KEHW31UZ9CFVD ljEDrkhjQwf6RptBX1MZp95RKZc7kRw93RRrAw3ieZq6SGZD+PGDHZ3rlqxfjC56XyfH B9V2+E+dVC3CuAC8F69zjMJvgOJ5NKnKX5oDtXYy1WuuENOg7lu08BpU8QWi9o0xb6Hp lzZeV9AvohqBCnADv+muVVvikiIzQwZae++CoDlaEAbog6zLm5mWZfWFTQOgmaYikSnV 4Leg== 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=2ocEEDn20Pay+t4OZLILs+H4gXLrD2lhkJvR1/9AjtQ=; fh=7ii8bnn+ZTeQOxdHt+mw4UkYyxgNVZW5u4vTB84Vals=; b=K/lbBsUUe0mcgV83vNK+dHZBhEn1tV+Y6D0QLHddrmQ0k2TVIoYozXpt1BK9GJD6ap 1H/NQU360z11mt7olQvQ8+sIDSBhE3bkAuqHM+d32KcThAiFjWxGgrJe8KiDkL4nF1pQ gvoUVWMtyUXO8piLxNZE9mwgWtLydXRZ16OzLOKkbnxxPbJTXNf9hFa6+MKKatsvOthh LkXbc3QsXORGzrAoAqd756qtWJZIpRDLBMAC21zyUMrG7wYbJpv4c3VOeRW66Em5YtpP IPtad1kCr7R1wdZrL3zqAzZee0t5nrF/0A/8c5rJZCb7oSs9k6c9Op2tuo02/n3z9PCW tf4Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=mLD6gqCd; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-68117-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-68117-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 n15-20020a170906b30f00b00a3d82178053si1341290ejz.514.2024.02.15.22.54.23 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Feb 2024 22:54:24 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-68117-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=mLD6gqCd; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-68117-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-68117-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 AF3BB1F25298 for <ouuuleilei@gmail.com>; Fri, 16 Feb 2024 06:54:23 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E27CA1A5BA; Fri, 16 Feb 2024 06:53:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="mLD6gqCd" 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 656191862F for <linux-kernel@vger.kernel.org>; Fri, 16 Feb 2024 06:53:42 +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=1708066422; cv=none; b=cETfNJQl2jqf35QHuvPAXOVogQL7IuU1FwG8pa3M1SQbiqyzmv0rvXD8K7kIW9QslxZ6OsFfeo8ayNh5MThyx/LTDhYWpZ5vLzmJkQIsIL4F+1eY8G/SPh7IhfqUy7ueDTUpsjM5OQGPOxOTWAzRmgrB+cOxKsFMq4OBdUZ0Pmg= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708066422; c=relaxed/simple; bh=amudruWj9HLCey00JO7KSVlxOakx7qFxQBUB40Y74us=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=C/+MXUvQo08fWK9qjebjS1v/HVr/jVKe4rVFenqGVY1pXf5fIyvz4UusOe49SZTe7iVrMccdYzq5kemswDbNtlEXKbRY+uomPjKdNl4d+RF16rs17OA0c9IC6i/wnoGJcRo7ax4otzewn4Zh0ZQdhjZN20taz44r1lh1fweG12Y= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=mLD6gqCd; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4BF4EC43390; Fri, 16 Feb 2024 06:53:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1708066421; bh=amudruWj9HLCey00JO7KSVlxOakx7qFxQBUB40Y74us=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=mLD6gqCd+4bBf7thLiyk9DVfkCA8lRghiFBtNXzuEQ2h1aaq0lwuSuqaVrzZ9L4lw XWDIHc0l7tRFoASez4k/goMJyHoNQNMi7l6m70P8Hq+AAOQaD9QFZasMxiT0Vmxw4C aQHgZVvrnfHtLMLfXkht+oTJSGfrF2+UbkMSt8IZoQxq1xpMQz5ca+sNGsqNCtzfxA P6fO2HgYcv4oC/So+Gqxg6oWWXnp+nwBXMjx0FLDG4H84S/4oa2ab+ryhDsmdVC5aT 7tU4WNDeciASWvRQRXWYv0sSOEJXWVY0QfzfAPpFl4UbyjYDcy2C5P1aNJPkLR42d8 9xNhKMtdF4FpA== 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 03/21] drm/i915: remove intel_dsi::{port_bits,hs} Date: Fri, 16 Feb 2024 07:53:08 +0100 Message-ID: <20240216065326.6910-4-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: 1791037500398767420 X-GMAIL-MSGID: 1791037500398767420 |
Series |
drm/i915: remove unused structure members
|
|
Commit Message
Jiri Slaby
Feb. 16, 2024, 6:53 a.m. UTC
intel_dsi::port_bits is unused since commit 369602d370fa (drm/i915: Add
support for port enable/disable for dual link configuration) and ::hs is
unused likely since commit 063c86f60ad4 (drm/i915/dsi: remove
intel_dsi_cmd.c and the unused functions therein). Drop them.
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_dsi.h | 4 ----
1 file changed, 4 deletions(-)
diff --git a/drivers/gpu/drm/i915/display/intel_dsi.h b/drivers/gpu/drm/i915/display/intel_dsi.h index 083390e5e442..e99c94edfaae 100644 --- a/drivers/gpu/drm/i915/display/intel_dsi.h +++ b/drivers/gpu/drm/i915/display/intel_dsi.h @@ -57,9 +57,6 @@ struct intel_dsi { u16 phys; /* ICL DSI */ }; - /* if true, use HS mode, otherwise LP */ - bool hs; - /* virtual channel */ int channel; @@ -93,7 +90,6 @@ struct intel_dsi { bool bgr_enabled; u8 pixel_overlap; - u32 port_bits; u32 bw_timer; u32 dphy_reg;