]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
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 1e6db0121ccd5f9aebfbeffe9abc891f7fe4679a..563b3dfeb9b90b675ac3dc3b893c3c0f79ddc423 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)
 {