]> git.baikalelectronics.ru Git - kernel.git/commit
drm: Skip initialising the drm_mm_node->hole_stack
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 3 Aug 2016 15:04:11 +0000 (16:04 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 8 Aug 2016 08:05:18 +0000 (10:05 +0200)
commit3a6b95f8fc777efd8927a2efc0e1fd1ace69bfa0
treef7c649ef69d9604adeae7c5ceac3040a4b0ffc7c
parentcf06207f97331cc3574da9e1eac5e10f4e99a124
drm: Skip initialising the drm_mm_node->hole_stack

As we always add this to the drm_mm->hole_stack as our first operation,
we do not need to initialise the list node.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: David Herrmann <dh.herrmann@gmail.com>
Cc: dri-devel@lists.freedesktop.org
Reviewed-by: David Herrmann <dh.herrmann@gmail.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/1470236651-678-3-git-send-email-chris@chris-wilson.co.uk
drivers/gpu/drm/drm_mm.c