mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] drm/vc4: remove unused render_wait variable
@ 2023-04-06 15:12 Tom Rix
  2023-04-11 12:31 ` (subset) " Maxime Ripard
  0 siblings, 1 reply; 2+ messages in thread
From: Tom Rix @ 2023-04-06 15:12 UTC (permalink / raw)
  To: emma, mripard, airlied, daniel; +Cc: dri-devel, linux-kernel, Tom Rix

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

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)
 {
-- 
2.27.0


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

* Re: (subset) [PATCH] drm/vc4: remove unused render_wait variable
  2023-04-06 15:12 [PATCH] drm/vc4: remove unused render_wait variable Tom Rix
@ 2023-04-11 12:31 ` Maxime Ripard
  0 siblings, 0 replies; 2+ messages in thread
From: Maxime Ripard @ 2023-04-11 12:31 UTC (permalink / raw)
  To: emma, mripard, airlied, daniel, Tom Rix
  Cc: Maxime Ripard, dri-devel, linux-kernel

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

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

end of thread, other threads:[~2023-04-11 12:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-04-06 15:12 [PATCH] drm/vc4: remove unused render_wait variable Tom Rix
2023-04-11 12:31 ` (subset) " Maxime Ripard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®