ocfs2: clean up some unused func declaration
PATCH 2/2 ocfs2: clean up some unused func declaration
Signed-off-by Jun Piao <[email protected]>
Reviewed-by Alex Chen <[email protected]>
--- fs/ocfs2/buffer_head_io.h | 3 --- fs/ocfs2/cluster/heartbeat.h | 2 -- 2 files changed, 5 deletions(-)
fs/ocfs2/buffer_head_io.h +0 -3
@@ -28,9 +28,6 @@#include <linux/buffer_head.h> -void ocfs2_end_buffer_io_sync (struct buffer_head *bh, -int uptodate); -int ocfs2_write_block (struct ocfs2_super *osb,struct buffer_head *bh,struct ocfs2_caching_info *ci);
fs/ocfs2/cluster/heartbeat.h +0 -2
@@ -79,10 +79,8 @@ void o2hb_fill_node_map(unsigned long *map, unsigned bytes);void o2hb_exit (void );int o2hb_init (void ); -int o2hb_check_node_heartbeating (u8 node_num);int o2hb_check_node_heartbeating_no_sem (u8 node_num);int o2hb_check_node_heartbeating_from_callback (u8 node_num); -int o2hb_check_local_node_heartbeating (void );void o2hb_stop_all_regions (void );int o2hb_get_all_regions (char *region_uuids,u8 numregions);int o2hb_global_heartbeat_active (void );
PATCH 2/2 ocfs2: clean up some unused func declaration
Cc Andrew as well.
Quoted 2 lines · piaojun
Signed-off-by Jun Piao <[email protected]>Reviewed-by Alex Chen <[email protected]>
Reviewed-by Joseph Qi <[email protected]>
Quoted 35 lines
--- fs/ocfs2/buffer_head_io.h | 3 --- fs/ocfs2/cluster/heartbeat.h | 2 -- 2 files changed, 5 deletions(-)fs/ocfs2/buffer_head_io.h +0
-3@@ -28,9 +28,6 @@#include <linux/buffer_head.h> -void ocfs2_end_buffer_io_sync (struct buffer_head *bh, -int uptodate); -int ocfs2_write_block (struct ocfs2_super *osb,struct buffer_head *bh,struct ocfs2_caching_info *ci);fs/ocfs2/cluster/heartbeat.h +0
-2@@ -79,10 +79,8 @@ void o2hb_fill_node_map(unsigned long *map, unsigned bytes);void o2hb_exit (void );int o2hb_init (void ); -int o2hb_check_node_heartbeating (u8 node_num);int o2hb_check_node_heartbeating_no_sem (u8 node_num);int o2hb_check_node_heartbeating_from_callback (u8 node_num); -int o2hb_check_local_node_heartbeating (void );void o2hb_stop_all_regions (void );int o2hb_get_all_regions (char *region_uuids,u8 numregions);int o2hb_global_heartbeat_active (void );