summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTom Rix <trix@redhat.com>2023-04-06 11:12:03 -0400
committerMaxime Ripard <maxime@cerno.tech>2023-04-11 14:15:18 +0200
commitc2ba16cddd6d13bfed8c8f0f288058f2a6eebaec (patch)
tree2ecc2537c773ff329ed6826d85bd3e75798283fc
parente3adc46da349d4a4cda1c58d8186c5bce0b011fd (diff)
downloadlinux-c2ba16cddd6d13bfed8c8f0f288058f2a6eebaec.tar.gz
linux-c2ba16cddd6d13bfed8c8f0f288058f2a6eebaec.tar.bz2
linux-c2ba16cddd6d13bfed8c8f0f288058f2a6eebaec.zip
drm/vc4: remove unused render_wait variable
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
-rw-r--r--drivers/gpu/drm/vc4/vc4_irq.c2
1 files changed, 0 insertions, 2 deletions
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)
{