diff mbox series

[3/3] drm/amd/display: remove unused struct 'dc_reg_sequence'

Message ID 20240517233548.231120-4-linux@treblig.org (mailing list archive)
State New, archived
Headers show
Series A bunch of struct removals | expand

Commit Message

Dr. David Alan Gilbert May 17, 2024, 11:35 p.m. UTC
From: "Dr. David Alan Gilbert" <linux@treblig.org>

'dc_reg_sequence' was added in
commit 44788bbc309b ("drm/amd/display: refactor reg_update")

but isn't actually used.

Remove it.

Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org>
---
 drivers/gpu/drm/amd/display/dc/dc_helper.c | 5 -----
 1 file changed, 5 deletions(-)

Comments

Alex Deucher May 20, 2024, 3:12 p.m. UTC | #1
Applied the series.  Thanks!

Alex

On Fri, May 17, 2024 at 8:12 PM <linux@treblig.org> wrote:
>
> From: "Dr. David Alan Gilbert" <linux@treblig.org>
>
> 'dc_reg_sequence' was added in
> commit 44788bbc309b ("drm/amd/display: refactor reg_update")
>
> but isn't actually used.
>
> Remove it.
>
> Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org>
> ---
>  drivers/gpu/drm/amd/display/dc/dc_helper.c | 5 -----
>  1 file changed, 5 deletions(-)
>
> diff --git a/drivers/gpu/drm/amd/display/dc/dc_helper.c b/drivers/gpu/drm/amd/display/dc/dc_helper.c
> index 8f9a67825615..b81419c95222 100644
> --- a/drivers/gpu/drm/amd/display/dc/dc_helper.c
> +++ b/drivers/gpu/drm/amd/display/dc/dc_helper.c
> @@ -91,11 +91,6 @@ struct dc_reg_value_masks {
>         uint32_t mask;
>  };
>
> -struct dc_reg_sequence {
> -       uint32_t addr;
> -       struct dc_reg_value_masks value_masks;
> -};
> -
>  static inline void set_reg_field_value_masks(
>         struct dc_reg_value_masks *field_value_mask,
>         uint32_t value,
> --
> 2.45.1
>
diff mbox series

Patch

diff --git a/drivers/gpu/drm/amd/display/dc/dc_helper.c b/drivers/gpu/drm/amd/display/dc/dc_helper.c
index 8f9a67825615..b81419c95222 100644
--- a/drivers/gpu/drm/amd/display/dc/dc_helper.c
+++ b/drivers/gpu/drm/amd/display/dc/dc_helper.c
@@ -91,11 +91,6 @@  struct dc_reg_value_masks {
 	uint32_t mask;
 };
 
-struct dc_reg_sequence {
-	uint32_t addr;
-	struct dc_reg_value_masks value_masks;
-};
-
 static inline void set_reg_field_value_masks(
 	struct dc_reg_value_masks *field_value_mask,
 	uint32_t value,