drm/nouveau: Drop drm_vblank_cleanup

nouveau_display_vblank_fini is called in the load error path (where it
doesn't matter) and module unload (where vblanks have been shut down
correctly already through drm_vblank_off), we can drop it.

Cc: Ben Skeggs <bskeggs@redhat.com>
Cc: nouveau@lists.freedesktop.org
Reviewed-by: Sean Paul <seanpaul@chromium.org>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170621082850.13224-8-daniel.vetter@ffwll.ch
This commit is contained in:
Daniel Vetter 2017-06-21 10:28:44 +02:00
Родитель ed173e55c4
Коммит 0265ac99ed
1 изменённых файлов: 0 добавлений и 2 удалений

Просмотреть файл

@ -159,8 +159,6 @@ nouveau_display_vblank_fini(struct drm_device *dev)
{ {
struct drm_crtc *crtc; struct drm_crtc *crtc;
drm_vblank_cleanup(dev);
list_for_each_entry(crtc, &dev->mode_config.crtc_list, head) { list_for_each_entry(crtc, &dev->mode_config.crtc_list, head) {
struct nouveau_crtc *nv_crtc = nouveau_crtc(crtc); struct nouveau_crtc *nv_crtc = nouveau_crtc(crtc);
nvif_notify_fini(&nv_crtc->vblank); nvif_notify_fini(&nv_crtc->vblank);