mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 1/2] drm/sti: remove unused variable
@ 2017-02-21 22:03 Arnd Bergmann
  2017-02-21 22:03 ` [PATCH 2/2] drm/sti: remove unused sti_drm_dbg_cleanup Arnd Bergmann
  2017-02-22  9:04 ` [PATCH 1/2] drm/sti: remove unused variable Benjamin Gaignard
  0 siblings, 2 replies; 3+ messages in thread
From: Arnd Bergmann @ 2017-02-21 22:03 UTC (permalink / raw)
  To: Vincent Abriou
  Cc: Arnd Bergmann, Benjamin Gaignard, David Airlie, Bich Hemon,
	Daniel Vetter, dri-devel, linux-kernel

One variable was left behind after its user got removed and we should now
delete the declaration as well:

drivers/gpu/drm/sti/sti_vtg.c: In function 'vtg_probe':
drivers/gpu/drm/sti/sti_vtg.c:392:22: error: unused variable 'np' [-Werror=unused-variable]

Fixes: 0c7ff84f7f9d ("drm/sti: remove deprecated legacy vtg slave")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
---
 drivers/gpu/drm/sti/sti_vtg.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/gpu/drm/sti/sti_vtg.c b/drivers/gpu/drm/sti/sti_vtg.c
index 943bce56692e..2dcba1d3a122 100644
--- a/drivers/gpu/drm/sti/sti_vtg.c
+++ b/drivers/gpu/drm/sti/sti_vtg.c
@@ -389,7 +389,6 @@ static irqreturn_t vtg_irq(int irq, void *arg)
 static int vtg_probe(struct platform_device *pdev)
 {
 	struct device *dev = &pdev->dev;
-	struct device_node *np;
 	struct sti_vtg *vtg;
 	struct resource *res;
 	int ret;
-- 
2.9.0

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

end of thread, other threads:[~2017-02-22  9:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-02-21 22:03 [PATCH 1/2] drm/sti: remove unused variable Arnd Bergmann
2017-02-21 22:03 ` [PATCH 2/2] drm/sti: remove unused sti_drm_dbg_cleanup Arnd Bergmann
2017-02-22  9:04 ` [PATCH 1/2] drm/sti: remove unused variable Benjamin Gaignard

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®