Skip to content
Snippets Groups Projects
Commit 536d8335 authored by Ucan, Emre (ADITG/SW1)'s avatar Ucan, Emre (ADITG/SW1) Committed by Pekka Paalanen
Browse files

ivi-shell: simplify ivi_layout_remove_surface


It is not necessary check the ivi-id of pregiven objects (layer or
surface). Traversing the list of all objects is sure to find the exact
same pointer we start with, bugs aside.

The controller modules are responsible for providing valid pointers. We
cannot protect from invalid pointers anyway.

Signed-off-by: default avatarEmre Ucan <eucan@de.adit-jv.com>
[Pekka: commit message]
Signed-off-by: Pekka Paalanen's avatarPekka Paalanen <pekka.paalanen@collabora.co.uk>
parent 5cbf1e81
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment