drm/tegra: Drop drm_vblank_cleanup
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 24 May 2017 14:52:08 +0000 (16:52 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 20 Jun 2017 08:20:40 +0000 (10:20 +0200)
Again, doesn't seem to serve a purpose.

Cc: Thierry Reding <thierry.reding@gmail.com>
Acked-by: Thierry Reding <thierry.reding@gmail.com>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170524145212.27837-34-daniel.vetter@ffwll.ch
drivers/gpu/drm/tegra/drm.c

index 51c48a8e00ec018fc5a21a340ed9144d07d1a198..0d8839244c3a8e149f6e89fd4063c647dbd12f60 100644 (file)
@@ -213,12 +213,10 @@ static int tegra_drm_load(struct drm_device *drm, unsigned long flags)
 
        err = tegra_drm_fb_init(drm);
        if (err < 0)
-               goto vblank;
+               goto device;
 
        return 0;
 
-vblank:
-       drm_vblank_cleanup(drm);
 device:
        host1x_device_exit(device);
 fbdev:
@@ -247,7 +245,6 @@ static void tegra_drm_unload(struct drm_device *drm)
        drm_kms_helper_poll_fini(drm);
        tegra_drm_fb_exit(drm);
        drm_mode_config_cleanup(drm);
-       drm_vblank_cleanup(drm);
 
        err = host1x_device_exit(device);
        if (err < 0)