Skip to content

Commit 98d6c09

Browse files
JunPiaoHWtorvalds
authored andcommitted
ocfs2: cleanup unused func declaration and assignment
Link: http://lkml.kernel.org/r/59E064BB.8000005@huawei.com Signed-off-by: Jun Piao <piaojun@huawei.com> Reviewed-by: Joseph Qi <jiangqi903@gmail.com> Cc: Mark Fasheh <mfasheh@versity.com> Cc: Joel Becker <jlbec@evilplan.org> Cc: Junxiao Bi <junxiao.bi@oracle.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent 23e0813 commit 98d6c09

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

fs/ocfs2/alloc.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3585,8 +3585,6 @@ static int ocfs2_merge_rec_left(struct ocfs2_path *right_path,
35853585
* The easy case - we can just plop the record right in.
35863586
*/
35873587
*left_rec = *split_rec;
3588-
3589-
has_empty_extent = 0;
35903588
} else
35913589
le16_add_cpu(&left_rec->e_leaf_clusters, split_clusters);
35923590

fs/ocfs2/cluster/heartbeat.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,10 +79,8 @@ void o2hb_fill_node_map(unsigned long *map,
7979
unsigned bytes);
8080
void o2hb_exit(void);
8181
int o2hb_init(void);
82-
int o2hb_check_node_heartbeating(u8 node_num);
8382
int o2hb_check_node_heartbeating_no_sem(u8 node_num);
8483
int o2hb_check_node_heartbeating_from_callback(u8 node_num);
85-
int o2hb_check_local_node_heartbeating(void);
8684
void o2hb_stop_all_regions(void);
8785
int o2hb_get_all_regions(char *region_uuids, u8 numregions);
8886
int o2hb_global_heartbeat_active(void);

0 commit comments

Comments
 (0)