[PATCH] drm/core: remove unused variable

Sudip Mukherjee sudipm.mukherjee at gmail.com
Wed Sep 23 06:36:10 PDT 2015


The variable dev was not used anywhere.

Signed-off-by: Sudip Mukherjee <sudip at vectorindia.org>
---
 drivers/gpu/drm/drm_crtc.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/gpu/drm/drm_crtc.c b/drivers/gpu/drm/drm_crtc.c
index 9d55c0c..e600a5f 100644
--- a/drivers/gpu/drm/drm_crtc.c
+++ b/drivers/gpu/drm/drm_crtc.c
@@ -3491,7 +3491,6 @@ out_err1:
  */
 void drm_fb_release(struct drm_file *priv)
 {
-	struct drm_device *dev = priv->minor->dev;
 	struct drm_framebuffer *fb, *tfb;
 
 	/*
-- 
1.9.1



More information about the dri-devel mailing list