drm: Remove drm_vblank_cleanup from drm_vblank_init error path.
authorMario Kleiner <mario.kleiner.de@gmail.com>
Wed, 6 Aug 2014 01:22:44 +0000 (03:22 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 6 Aug 2014 20:39:32 +0000 (22:39 +0200)
commit79a093aea44f11fda0a5b4dbe4c1e29b2f586f4e
tree367698e58cdcdf3a14a0fef6ef687f96ea5de246
parentc50d7521617d823d769b280bc499e19e364434ae
drm: Remove drm_vblank_cleanup from drm_vblank_init error path.

drm_vblank_cleanup() would operate on non-existent dev->vblank
data structure, as failure to allocate that data structure is
what triggers the error path in the first place.

Signed-off-by: Mario Kleiner <mario.kleiner.de@gmail.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/drm_irq.c