tbm_bufmgr, tbm_surface_internal: clean up LIST relevant codes 49/95249/1
authorYoungJun Cho <yj44.cho@samsung.com>
Wed, 2 Nov 2016 13:51:27 +0000 (22:51 +0900)
committerYoungJun Cho <yj44.cho@samsung.com>
Wed, 2 Nov 2016 13:51:27 +0000 (22:51 +0900)
commitbf91052a670a0a3044c9eb77d620dabe5348efed
tree431f7febfde1cd7b23027086fad86f940e145a0a
parent9612bdcdaa6789d0c331fc54b38f9259681bb776
tbm_bufmgr, tbm_surface_internal: clean up LIST relevant codes

This patch cleans up LIST relevant codes.
- LIST_FOR_EACH_ENTRY is enough if there is no LIST_DEL routine inside.
- The user_data_lookup() checks LIST_IS_EMPTY() internally, so removes duplicated check routine.

Change-Id: Id4821fd22014cb5dfa32a77da8f5c26e0dc9569c
Signed-off-by: YoungJun Cho <yj44.cho@samsung.com>
src/tbm_bufmgr.c
src/tbm_surface_internal.c