Skip to contentSkip to conversation

ocfs2: clean up some unused func declaration

PATCH New piaojun 2 participants 2 messages Sep 23, 2017 – Sep 25, 2017 OCFS2

lore
Share & tools
lore

piaojun

author
#0 lore raw

PATCH 2/2 ocfs2: clean up some unused func declaration

---
 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
index b97bcc6..b1bb70c 100644
@@ -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
index 3ef5137..a9e67ef 100644
@@ -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);
#1 lore raw

PATCH 2/2 ocfs2: clean up some unused func declaration

Cc Andrew as well.

Quoted 2 lines · piaojun
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
index b97bcc6..b1bb70c 100644
@@ -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
index 3ef5137..a9e67ef 100644
@@ -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);