diff mbox

ocfs2/cluster: clean up unused function declaration in heartbeat.h

Message ID 63ADC13FD55D6546B7DECE290D39E373F1F5A7ED@H3CMLB14-EX.srv.huawei-3com.com (mailing list archive)
State New, archived
Headers show

Commit Message

Changwei Ge Dec. 13, 2017, 3:19 a.m. UTC
Signed-off-by: Changwei Ge <ge.changwei@h3c.com>
---
  fs/ocfs2/cluster/heartbeat.h | 2 --
  1 file changed, 2 deletions(-)

Comments

Joseph Qi Dec. 13, 2017, 4:05 a.m. UTC | #1
These have already been cleaned up in commit
98d6c09ec2899a9a601b16ec7ae31d54e6b100b9.

On 17/12/13 11:19, Changwei Ge wrote:
> Signed-off-by: Changwei Ge <ge.changwei@h3c.com>
> ---
>   fs/ocfs2/cluster/heartbeat.h | 2 --
>   1 file changed, 2 deletions(-)
> 
> diff --git a/fs/ocfs2/cluster/heartbeat.h b/fs/ocfs2/cluster/heartbeat.h
> index 3ef5137dc362..a9e67efc0004 100644
> --- a/fs/ocfs2/cluster/heartbeat.h
> +++ b/fs/ocfs2/cluster/heartbeat.h
> @@ -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);
>
Changwei Ge Dec. 13, 2017, 4:52 a.m. UTC | #2
Yes, Jun has cleaned up those declarations.

I will rebase my tree.

Thanks,
Changwei

On 2017/12/13 12:06, Joseph Qi wrote:
> These have already been cleaned up in commit
> 98d6c09ec2899a9a601b16ec7ae31d54e6b100b9.
> 
> On 17/12/13 11:19, Changwei Ge wrote:
>> Signed-off-by: Changwei Ge <ge.changwei@h3c.com>
>> ---
>>    fs/ocfs2/cluster/heartbeat.h | 2 --
>>    1 file changed, 2 deletions(-)
>>
>> diff --git a/fs/ocfs2/cluster/heartbeat.h b/fs/ocfs2/cluster/heartbeat.h
>> index 3ef5137dc362..a9e67efc0004 100644
>> --- a/fs/ocfs2/cluster/heartbeat.h
>> +++ b/fs/ocfs2/cluster/heartbeat.h
>> @@ -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);
>>
>
diff mbox

Patch

diff --git a/fs/ocfs2/cluster/heartbeat.h b/fs/ocfs2/cluster/heartbeat.h
index 3ef5137dc362..a9e67efc0004 100644
--- a/fs/ocfs2/cluster/heartbeat.h
+++ b/fs/ocfs2/cluster/heartbeat.h
@@ -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);