]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
ocfs2: cleanup unused func declaration and assignment
authorpiaojun <piaojun@huawei.com>
Thu, 16 Nov 2017 01:31:29 +0000 (17:31 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 16 Nov 2017 02:21:01 +0000 (18:21 -0800)
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>
fs/ocfs2/alloc.c
fs/ocfs2/cluster/heartbeat.h

index addd7c5f2d3e522a7a65bd51b0164ef705402605..ab5105f9767edde5aaf5892c272907e8288afc85 100644 (file)
@@ -3585,8 +3585,6 @@ static int ocfs2_merge_rec_left(struct ocfs2_path *right_path,
                 * The easy case - we can just plop the record right in.
                 */
                *left_rec = *split_rec;
-
-               has_empty_extent = 0;
        } else
                le16_add_cpu(&left_rec->e_leaf_clusters, split_clusters);
 
index 3ef5137dc362200701a6fbd4c93f9724a4594ec2..a9e67efc0004e381505443ff03b5193b3b4ff231 100644 (file)
@@ -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);