2021-02-15 10:52:11

by Christian König

[permalink] [raw]
Subject: Re: [PATCH] drm/radeon: Remove unused function pointer typedef radeon_packet3_check_t



Am 15.02.21 um 11:21 schrieb Chen Lin:
> From: Chen Lin <[email protected]>
>
> Remove the 'radeon_packet3_check_t' typedef as it is not used.
>
> Signed-off-by: Chen Lin <[email protected]>

Reviewed-by: Christian König <[email protected]>

> ---
> drivers/gpu/drm/radeon/radeon.h | 3 ---
> 1 file changed, 3 deletions(-)
>
> diff --git a/drivers/gpu/drm/radeon/radeon.h b/drivers/gpu/drm/radeon/radeon.h
> index 5f3adba..a1c38b5 100644
> --- a/drivers/gpu/drm/radeon/radeon.h
> +++ b/drivers/gpu/drm/radeon/radeon.h
> @@ -1111,9 +1111,6 @@ struct radeon_cs_packet {
> typedef int (*radeon_packet0_check_t)(struct radeon_cs_parser *p,
> struct radeon_cs_packet *pkt,
> unsigned idx, unsigned reg);
> -typedef int (*radeon_packet3_check_t)(struct radeon_cs_parser *p,
> - struct radeon_cs_packet *pkt);
> -
>
> /*
> * AGP


2021-02-15 19:15:31

by Alex Deucher

[permalink] [raw]
Subject: Re: [PATCH] drm/radeon: Remove unused function pointer typedef radeon_packet3_check_t

Applied. Thanks!

Alex

On Mon, Feb 15, 2021 at 5:43 AM Christian König
<[email protected]> wrote:
>
>
>
> Am 15.02.21 um 11:21 schrieb Chen Lin:
> > From: Chen Lin <[email protected]>
> >
> > Remove the 'radeon_packet3_check_t' typedef as it is not used.
> >
> > Signed-off-by: Chen Lin <[email protected]>
>
> Reviewed-by: Christian König <[email protected]>
>
> > ---
> > drivers/gpu/drm/radeon/radeon.h | 3 ---
> > 1 file changed, 3 deletions(-)
> >
> > diff --git a/drivers/gpu/drm/radeon/radeon.h b/drivers/gpu/drm/radeon/radeon.h
> > index 5f3adba..a1c38b5 100644
> > --- a/drivers/gpu/drm/radeon/radeon.h
> > +++ b/drivers/gpu/drm/radeon/radeon.h
> > @@ -1111,9 +1111,6 @@ struct radeon_cs_packet {
> > typedef int (*radeon_packet0_check_t)(struct radeon_cs_parser *p,
> > struct radeon_cs_packet *pkt,
> > unsigned idx, unsigned reg);
> > -typedef int (*radeon_packet3_check_t)(struct radeon_cs_parser *p,
> > - struct radeon_cs_packet *pkt);
> > -
> >
> > /*
> > * AGP
>
> _______________________________________________
> amd-gfx mailing list
> [email protected]
> https://lists.freedesktop.org/mailman/listinfo/amd-gfx