From 4eaf3da1d29056e06c781c192cea656c5fb15dc5 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=C5=81ukasz=20Stelmach?= Date: Tue, 29 Aug 2017 11:36:29 +0200 Subject: [PATCH] Remove superfluous empty lines and align comments MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Change-Id: I6da352ba186154e9f28d3362b3edb291e3ff0073 Signed-off-by: Łukasz Stelmach --- src/tbm_bufmgr_int.h | 57 ++++++++++++++++++---------------------------------- 1 file changed, 19 insertions(+), 38 deletions(-) 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 */ }; /** -- 2.7.4