tbm_surface_queue: clean up tbm_surface_queue_can_dequeue / acquire 02/96302/1
authorYoungJun Cho <yj44.cho@samsung.com>
Tue, 8 Nov 2016 11:10:10 +0000 (20:10 +0900)
committerYoungJun Cho <yj44.cho@samsung.com>
Tue, 8 Nov 2016 11:10:10 +0000 (20:10 +0900)
commit9a85d870026d78a6716a02e5fca273aed1011f1b
treeee3b2f2217076fea0a7490e914a8ea356dae0831
parentfab8218f72f944a6af13d3200e4b8b7fdcfc510f
tbm_surface_queue: clean up tbm_surface_queue_can_dequeue / acquire

This patch cleans up tbm_surface_queue_can_dequeue / acqurie
not to use 3-depth 'if' condition.

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