drm/panel: db7430: remove unused variables

Message ID 20230719105829.148011-1-luca.ceresoli@bootlin.com
State New
Headers
Series drm/panel: db7430: remove unused variables |

Commit Message

Luca Ceresoli July 19, 2023, 10:58 a.m. UTC
  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(-)
  

Comments

Linus Walleij July 24, 2023, 5:56 p.m. UTC | #1
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
  

Patch

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 */