drm/vc4: remove unused render_wait variable
authorTom Rix <trix@redhat.com>
Thu, 6 Apr 2023 15:12:03 +0000 (11:12 -0400)
committerMaxime Ripard <maxime@cerno.tech>
Tue, 11 Apr 2023 12:15:18 +0000 (14:15 +0200)
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>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link: https://patchwork.freedesktop.org/patch/msgid/20230406151203.1953812-1-trix@redhat.com
drivers/gpu/drm/vc4/vc4_irq.c

index 1e6db01..563b3df 100644 (file)
@@ -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)
 {