Skip to content

Commit

Permalink
drm/tegra: Drop drm_vblank_cleanup
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Daniel Vetter committed Jun 20, 2017
1 parent fc5e9d6 commit 00a9121
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions drivers/gpu/drm/tegra/drm.c
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 00a9121

Please sign in to comment.