linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] drm/radeon: Remove unused function pointer typedef radeon_packet3_check_t
@ 2021-02-15 10:21 Chen Lin
  2021-02-15 10:43 ` Christian König
  0 siblings, 1 reply; 3+ messages in thread
From: Chen Lin @ 2021-02-15 10:21 UTC (permalink / raw)
  To: airlied, daniel
  Cc: alexander.deucher, christian.koenig, amd-gfx, dri-devel,
	linux-kernel, Chen Lin

From: Chen Lin <chen.lin5@zte.com.cn>

Remove the 'radeon_packet3_check_t' typedef as it is not used.

Signed-off-by: Chen Lin <chen.lin5@zte.com.cn>
---
 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
-- 
1.7.9.5


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

* Re: [PATCH] drm/radeon: Remove unused function pointer typedef radeon_packet3_check_t
  2021-02-15 10:21 [PATCH] drm/radeon: Remove unused function pointer typedef radeon_packet3_check_t Chen Lin
@ 2021-02-15 10:43 ` Christian König
  2021-02-15 19:11   ` Alex Deucher
  0 siblings, 1 reply; 3+ messages in thread
From: Christian König @ 2021-02-15 10:43 UTC (permalink / raw)
  To: Chen Lin, airlied, daniel
  Cc: alexander.deucher, amd-gfx, dri-devel, linux-kernel, Chen Lin



Am 15.02.21 um 11:21 schrieb Chen Lin:
> From: Chen Lin <chen.lin5@zte.com.cn>
>
> Remove the 'radeon_packet3_check_t' typedef as it is not used.
>
> Signed-off-by: Chen Lin <chen.lin5@zte.com.cn>

Reviewed-by: Christian König <christian.koenig@amd.com>

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


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

* Re: [PATCH] drm/radeon: Remove unused function pointer typedef radeon_packet3_check_t
  2021-02-15 10:43 ` Christian König
@ 2021-02-15 19:11   ` Alex Deucher
  0 siblings, 0 replies; 3+ messages in thread
From: Alex Deucher @ 2021-02-15 19:11 UTC (permalink / raw)
  To: Christian König
  Cc: Chen Lin, Dave Airlie, Daniel Vetter, Deucher, Alexander,
	Chen Lin, Maling list - DRI developers, amd-gfx list, LKML

Applied.  Thanks!

Alex

On Mon, Feb 15, 2021 at 5:43 AM Christian König
<christian.koenig@amd.com> wrote:
>
>
>
> Am 15.02.21 um 11:21 schrieb Chen Lin:
> > From: Chen Lin <chen.lin5@zte.com.cn>
> >
> > Remove the 'radeon_packet3_check_t' typedef as it is not used.
> >
> > Signed-off-by: Chen Lin <chen.lin5@zte.com.cn>
>
> Reviewed-by: Christian König <christian.koenig@amd.com>
>
> > ---
> >   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
> amd-gfx@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/amd-gfx

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

end of thread, other threads:[~2021-02-15 19:12 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-15 10:21 [PATCH] drm/radeon: Remove unused function pointer typedef radeon_packet3_check_t Chen Lin
2021-02-15 10:43 ` Christian König
2021-02-15 19:11   ` Alex Deucher

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).