diff mbox series

drm/vc4: remove unused render_wait variable

Message ID 20230406151203.1953812-1-trix@redhat.com (mailing list archive)
State New, archived
Headers show
Series drm/vc4: remove unused render_wait variable | expand

Commit Message

Tom Rix April 6, 2023, 3:12 p.m. UTC
smatch reports
drivers/gpu/drm/vc4/vc4_irq.c:60:1: warning: symbol
  'render_wait' was not declared. Should it be static?

This variable is not used so remove it.

Signed-off-by: Tom Rix <trix@redhat.com>
---
 drivers/gpu/drm/vc4/vc4_irq.c | 2 --
 1 file changed, 2 deletions(-)

Comments

maxime@cerno.tech April 11, 2023, 12:31 p.m. UTC | #1
On Thu, 06 Apr 2023 11:12:03 -0400, Tom Rix wrote:
> smatch reports
> drivers/gpu/drm/vc4/vc4_irq.c:60:1: warning: symbol
>   'render_wait' was not declared. Should it be static?
> 
> This variable is not used so remove it.
> 
> 
> [...]

Applied to drm/drm-misc (drm-misc-next).

Thanks!
Maxime
diff mbox series

Patch

diff --git a/drivers/gpu/drm/vc4/vc4_irq.c b/drivers/gpu/drm/vc4/vc4_irq.c
index 1e6db0121ccd..563b3dfeb9b9 100644
--- a/drivers/gpu/drm/vc4/vc4_irq.c
+++ b/drivers/gpu/drm/vc4/vc4_irq.c
@@ -57,8 +57,6 @@ 
 			 V3D_INT_FLDONE | \
 			 V3D_INT_FRDONE)
 
-DECLARE_WAIT_QUEUE_HEAD(render_wait);
-
 static void
 vc4_overflow_mem_work(struct work_struct *work)
 {