dri-devel.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] drm/panel: db7430: remove unused variables
@ 2023-07-19 10:58 Luca Ceresoli
  2023-07-24 17:56 ` Linus Walleij
  0 siblings, 1 reply; 2+ messages in thread
From: Luca Ceresoli @ 2023-07-19 10:58 UTC (permalink / raw)
  To: Linus Walleij, Neil Armstrong, Sam Ravnborg, David Airlie, Daniel Vetter
  Cc: Thomas Petazzoni, Luca Ceresoli, linux-kernel, dri-devel

These variables are never referenced in the code.

Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
---
 drivers/gpu/drm/panel/panel-samsung-db7430.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/drivers/gpu/drm/panel/panel-samsung-db7430.c b/drivers/gpu/drm/panel/panel-samsung-db7430.c
index 117b26845083..14c6700e37b3 100644
--- a/drivers/gpu/drm/panel/panel-samsung-db7430.c
+++ b/drivers/gpu/drm/panel/panel-samsung-db7430.c
@@ -56,10 +56,6 @@ struct db7430 {
 	struct mipi_dbi dbi;
 	/** @panel: the DRM panel instance for this device */
 	struct drm_panel panel;
-	/** @width: the width of this panel in mm */
-	u32 width;
-	/** @height: the height of this panel in mm */
-	u32 height;
 	/** @reset: reset GPIO line */
 	struct gpio_desc *reset;
 	/** @regulators: VCCIO and VIO supply regulators */
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] drm/panel: db7430: remove unused variables
  2023-07-19 10:58 [PATCH] drm/panel: db7430: remove unused variables Luca Ceresoli
@ 2023-07-24 17:56 ` Linus Walleij
  0 siblings, 0 replies; 2+ messages in thread
From: Linus Walleij @ 2023-07-24 17:56 UTC (permalink / raw)
  To: Luca Ceresoli
  Cc: Neil Armstrong, Thomas Petazzoni, Sam Ravnborg, linux-kernel, dri-devel

On Wed, Jul 19, 2023 at 12:59 PM Luca Ceresoli
<luca.ceresoli@bootlin.com> wrote:

> These variables are never referenced in the code.
>
> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>

Patch applied and pushed to drm-misc-next.

Yours,
Linus Walleij

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-07-24 17:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-19 10:58 [PATCH] drm/panel: db7430: remove unused variables Luca Ceresoli
2023-07-24 17:56 ` Linus Walleij

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).