ocfs2: clean up some unused function declaration
PATCH 1/1 ocfs2: clean up some unused function declaration
Clean up some unused function declaration in dlmcommon.h
Signed-off-by Jun Piao <[email protected]>
Reviewed-by Yiwen Jiang <[email protected]>
--- fs/ocfs2/dlm/dlmcommon.h | 3 --- 1 file changed, 3 deletions(-)
fs/ocfs2/dlm/dlmcommon.h +0 -3
@@ -960,13 +960,10 @@ static inline int dlm_send_proxy_ast(struct dlm_ctxt *dlm,void dlm_print_one_lock_resource (struct dlm_lock_resource *res);void __dlm_print_one_lock_resource (struct dlm_lock_resource *res); -u8 dlm_nm_this_node (struct dlm_ctxt *dlm);void dlm_kick_thread (struct dlm_ctxt *dlm,struct dlm_lock_resource *res);void __dlm_dirty_lockres (struct dlm_ctxt *dlm,struct dlm_lock_resource *res); -int dlm_nm_init (struct dlm_ctxt *dlm); -int dlm_heartbeat_init (struct dlm_ctxt *dlm);void dlm_hb_node_down_cb (struct o2nm_node *node,int idx,void *data);void dlm_hb_node_up_cb (struct o2nm_node *node,int idx,void *data);
PATCH 1/1 ocfs2: clean up some unused function declaration
It looks good to me.
Reviewed-by Changwei Ge <[email protected]>
Quoted 26 lines · piaojun
Clean up some unused function declaration in
dlmcommon.hSigned-off-by Jun Piao <[email protected]>Reviewed-by Yiwen Jiang <[email protected]>--- fs/ocfs2/dlm/dlmcommon.h | 3 --- 1 file changed, 3 deletions(-)fs/ocfs2/dlm/dlmcommon.h +0
-3@@ -960,13 +960,10 @@ static inline int dlm_send_proxy_ast(struct dlm_ctxt *dlm,void dlm_print_one_lock_resource (struct dlm_lock_resource *res);void __dlm_print_one_lock_resource (struct dlm_lock_resource *res); -u8 dlm_nm_this_node (struct dlm_ctxt *dlm);void dlm_kick_thread (struct dlm_ctxt *dlm,struct dlm_lock_resource *res);void __dlm_dirty_lockres (struct dlm_ctxt *dlm,struct dlm_lock_resource *res); -int dlm_nm_init (struct dlm_ctxt *dlm); -int dlm_heartbeat_init (struct dlm_ctxt *dlm);void dlm_hb_node_down_cb (struct o2nm_node *node,int idx,void *data);void dlm_hb_node_up_cb (struct o2nm_node *node,int idx,void *data);
PATCH 1/1 ocfs2: clean up some unused function declaration
In reply to piaojunHi Jun,
Looks good to me.
Quoted 4 lines · piaojun
Clean up some unused function declaration in
dlmcommon.hSigned-off-by Jun Piao <[email protected]>Reviewed-by Yiwen Jiang <[email protected]>
Reviewed-by Alex Chen <[email protected]>
Quoted 22 lines
--- fs/ocfs2/dlm/dlmcommon.h | 3 --- 1 file changed, 3 deletions(-)fs/ocfs2/dlm/dlmcommon.h +0
-3@@ -960,13 +960,10 @@ static inline int dlm_send_proxy_ast(struct dlm_ctxt *dlm,void dlm_print_one_lock_resource (struct dlm_lock_resource *res);void __dlm_print_one_lock_resource (struct dlm_lock_resource *res); -u8 dlm_nm_this_node (struct dlm_ctxt *dlm);void dlm_kick_thread (struct dlm_ctxt *dlm,struct dlm_lock_resource *res);void __dlm_dirty_lockres (struct dlm_ctxt *dlm,struct dlm_lock_resource *res); -int dlm_nm_init (struct dlm_ctxt *dlm); -int dlm_heartbeat_init (struct dlm_ctxt *dlm);void dlm_hb_node_down_cb (struct o2nm_node *node,int idx,void *data);void dlm_hb_node_up_cb (struct o2nm_node *node,int idx,void *data);