tbm_surface_queue: clean up tbm_surface_queue_init / destroy 99/96299/1
authorYoungJun Cho <yj44.cho@samsung.com>
Tue, 8 Nov 2016 10:47:39 +0000 (19:47 +0900)
committerYoungJun Cho <yj44.cho@samsung.com>
Tue, 8 Nov 2016 10:47:39 +0000 (19:47 +0900)
commit610324eb1e011176e012a248115814f52306c04a
tree955daffeea3a6c7b4770bba873064b1208350665
parent889749e503f081970159b47de21e308a8367ec38
tbm_surface_queue: clean up tbm_surface_queue_init / destroy

This patch cleans up tbm_surface_queue_init / destroy.
- The surface_queue is created by calloc, so memset() is not required
  in tbm_surface_queue_init().
- There are missed _notify_remove_all() calls for dequeue_noti and acquirable_noti
  in tbm_surface_queue_destroy().
- Reorders notifications list as structure defined order.

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