commit | 10942379d295af1f02513daebd5e81a82641dd3f | [log] [tgz] |
---|---|---|
author | Ucan, Emre (ADITG/SW1) <eucan@de.adit-jv.com> | Wed Mar 16 13:37:02 2016 +0000 |
committer | Pekka Paalanen <pekka.paalanen@collabora.co.uk> | Thu Mar 17 13:31:18 2016 +0200 |
tree | f1884e9460275236c99a6f2e7badde1f91da55d9 | |
parent | 536d8335153a1cb0d8a6613d68e91ad49d605655 [diff] |
ivi-shell: simplify ivi_layout_layer_add_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: Emre Ucan <eucan@de.adit-jv.com> [Pekka: commit message] Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>