drm/tegra: drop unused variable.
authorDave Airlie <airlied@redhat.com>
Tue, 9 Feb 2016 01:17:37 +0000 (11:17 +1000)
committerDave Airlie <airlied@redhat.com>
Tue, 9 Feb 2016 01:17:37 +0000 (11:17 +1000)
Fixes: 0417d424a (drm/tegra: Stop cancelling page flip events)

Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/tegra/drm.c

index 021d0e1398fb683e8ade76adb8d849d42f59b12a..8e6b18caa706d207b0a1ef66e3a5299e54bc3e54 100644 (file)
@@ -858,7 +858,6 @@ static void tegra_drm_preclose(struct drm_device *drm, struct drm_file *file)
 {
        struct tegra_drm_file *fpriv = file->driver_priv;
        struct tegra_drm_context *context, *tmp;
-       struct drm_crtc *crtc;
 
        list_for_each_entry_safe(context, tmp, &fpriv->contexts, list)
                tegra_drm_context_free(context);