Remove superfluous empty lines and align comments 64/146564/2
authorŁukasz Stelmach <l.stelmach@samsung.com>
Tue, 29 Aug 2017 09:36:29 +0000 (11:36 +0200)
committerSooChan Lim <sc1.lim@samsung.com>
Tue, 29 Aug 2017 23:21:39 +0000 (23:21 +0000)
Change-Id: I6da352ba186154e9f28d3362b3edb291e3ff0073
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
src/tbm_bufmgr_int.h

index 92262fd..32cf5a6 100644 (file)
@@ -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 */
 };
 
 /**