From: Łukasz Stelmach Date: Tue, 29 Aug 2017 09:36:29 +0000 (+0200) Subject: Remove superfluous empty lines and align comments X-Git-Tag: accepted/tizen/4.0/unified/20170920.081323~5 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F64%2F146564%2F2;p=platform%2Fcore%2Fuifw%2Flibtbm.git Remove superfluous empty lines and align comments Change-Id: I6da352ba186154e9f28d3362b3edb291e3ff0073 Signed-off-by: Łukasz Stelmach --- diff --git a/src/tbm_bufmgr_int.h b/src/tbm_bufmgr_int.h index 92262fd..32cf5a6 100644 --- a/src/tbm_bufmgr_int.h +++ b/src/tbm_bufmgr_int.h @@ -221,23 +221,15 @@ struct list_head { * @brief tbm_bo : buffer object of Tizen Buffer Manager */ struct _tbm_bo { - tbm_bufmgr bufmgr; /* tbm buffer manager */ - - int ref_cnt; /* ref count of bo */ - - int flags; /* TBM_BO_FLAGS :bo memory type */ - - struct list_head user_data_list; /* list of the user_date in bo */ - - void *priv; /* bo private */ - - struct list_head item_link; /* link of bo */ - - tbm_surface_h surface; /* tbm_surface */ - - int lock_cnt; /* lock count of bo */ - - unsigned int map_cnt; /* device map count */ + tbm_bufmgr bufmgr; /* tbm buffer manager */ + int ref_cnt; /* ref count of bo */ + int flags; /* TBM_BO_FLAGS :bo memory type */ + struct list_head user_data_list; /* list of the user_date in bo */ + void *priv; /* bo private */ + struct list_head item_link; /* link of bo */ + tbm_surface_h surface; /* tbm_surface */ + int lock_cnt; /* lock count of bo */ + unsigned int map_cnt; /* device map count */ }; /** @@ -245,29 +237,18 @@ struct _tbm_bo { * */ struct _tbm_bufmgr { - pthread_mutex_t lock; /* mutex lock */ - - int ref_count; /*reference count */ - - int fd; /* bufmgr fd */ - - int lock_type; /* lock_type of bufmgr */ - - int capabilities; /* capabilities of bufmgr */ - - unsigned int bo_cnt; /* number of bos */ - - struct list_head bo_list; /* list of bos belonging to bufmgr */ - - struct list_head surf_list; /* list of surfaces belonging to bufmgr */ - + pthread_mutex_t lock; /* mutex lock */ + int ref_count; /* reference count */ + int fd; /* bufmgr fd */ + int lock_type; /* lock_type of bufmgr */ + int capabilities; /* capabilities of bufmgr */ + unsigned int bo_cnt; /* number of bos */ + struct list_head bo_list; /* list of bos belonging to bufmgr */ + struct list_head surf_list; /* list of surfaces belonging to bufmgr */ struct list_head surf_queue_list; /* list of surface queues belonging to bufmgr */ - - struct list_head debug_key_list; /* list of debug data key list belonging to bufmgr */ - + struct list_head debug_key_list; /* list of debug data key list belonging to bufmgr */ void *module_data; - - tbm_bufmgr_backend backend; /* bufmgr backend */ + tbm_bufmgr_backend backend; /* bufmgr backend */ }; /**