From patchwork Wed Dec 13 03:19:53 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Changwei Ge X-Patchwork-Id: 10109173 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 962AC60352 for ; Wed, 13 Dec 2017 03:23:33 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 88B512886A for ; Wed, 13 Dec 2017 03:23:33 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7AB96205A9; Wed, 13 Dec 2017 03:23:33 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID autolearn=ham version=3.3.1 Received: from aserp2120.oracle.com (aserp2120.oracle.com [141.146.126.78]) (using TLSv1.2 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id EBA01205A9 for ; Wed, 13 Dec 2017 03:23:32 +0000 (UTC) Received: from pps.filterd (aserp2120.oracle.com [127.0.0.1]) by aserp2120.oracle.com (8.16.0.21/8.16.0.21) with SMTP id vBD3MOZb047377; Wed, 13 Dec 2017 03:23:19 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : date : message-id : mime-version : subject : list-id : list-unsubscribe : list-archive : list-post : list-help : list-subscribe : content-type : content-transfer-encoding : sender; s=corp-2017-10-26; bh=yBxKxt2rW6h6AJZk9R6VC8LLQJmtr358cXXx0mtqKMQ=; b=kVZE4H9SWdlugTHpe3m07WEiSpm05kAtW7aQ94/U/+TjDqMd6pTVXJR/Uc+TZBOyO3Lj b8+bia4RrvW9DF+g8fxsbt1//tSevVzkI4KeksgWsAO3FedPTx38+Y9iv5QDaAnW9A47 fjDjpc4j0c4NM3jB1ZpG7zVoRDGVN1ipoNmPPGhdUceFMaRcigi4Vi+Yc8S32ZN+1mtK DNkJ1TkhNHI3GiV+sfK9E1HhG+3ryudyfU5J35+5Q0ll5h4MXLBx1buUdnaEx44QmUMG 2P2sdyghNN5W9LrCHoN4D6UuW1jp5Xa6S1yzAWWZmuCHzHgTPz/bIMLLygDmO1WoUGUi Zg== Received: from userv0022.oracle.com (userv0022.oracle.com [156.151.31.74]) by aserp2120.oracle.com with ESMTP id 2etv5180sr-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 13 Dec 2017 03:23:19 +0000 Received: from oss.oracle.com (oss-old-reserved.oracle.com [137.254.22.2]) by userv0022.oracle.com (8.14.4/8.14.4) with ESMTP id vBD3NACX005653 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 13 Dec 2017 03:23:12 GMT Received: from localhost ([127.0.0.1] helo=lb-oss.oracle.com) by oss.oracle.com with esmtp (Exim 4.63) (envelope-from ) id 1eOxdW-0007sj-AP; Tue, 12 Dec 2017 19:23:10 -0800 Received: from userv0022.oracle.com ([156.151.31.74]) by oss.oracle.com with esmtp (Exim 4.63) (envelope-from ) id 1eOxd6-0007rX-EP for ocfs2-devel@oss.oracle.com; Tue, 12 Dec 2017 19:22:46 -0800 Received: from userp2030.oracle.com (userp2030.oracle.com [156.151.31.89]) by userv0022.oracle.com (8.14.4/8.14.4) with ESMTP id vBD3Mhem004871 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=OK); Wed, 13 Dec 2017 03:22:43 GMT Received: from pps.filterd (userp2030.oracle.com [127.0.0.1]) by userp2030.oracle.com (8.16.0.21/8.16.0.21) with SMTP id vBD3McGZ005021; Wed, 13 Dec 2017 03:22:43 GMT Received: from h3cmg01-ex.h3c.com (smtp.h3c.com [60.191.123.56]) by userp2030.oracle.com with ESMTP id 2eth4866b4-1; Wed, 13 Dec 2017 03:22:33 +0000 Received: from BJHUB01-EX.srv.huawei-3com.com (unknown [10.63.20.169]) by h3cmg01-ex.h3c.com with smtp id 4684_015f_2bd3ab13_61c5_431a_b842_9203abb51912; Wed, 13 Dec 2017 11:20:04 +0800 Received: from H3CMLB14-EX.srv.huawei-3com.com ([fe80::f804:6772:bd71:f07f]) by BJHUB01-EX.srv.huawei-3com.com ([::1]) with mapi id 14.03.0248.002; Wed, 13 Dec 2017 11:19:55 +0800 From: Changwei Ge To: Andrew Morton , "ocfs2-devel@oss.oracle.com" Thread-Topic: [PATCH] ocfs2/cluster: clean up unused function declaration in heartbeat.h Thread-Index: AdNzwT4gzkjLBSCVQ9qwyu/LJvUdLg== Date: Wed, 13 Dec 2017 03:19:53 +0000 Message-ID: <63ADC13FD55D6546B7DECE290D39E373F1F5A7ED@H3CMLB14-EX.srv.huawei-3com.com> Accept-Language: en-US, zh-CN Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.125.136.231] MIME-Version: 1.0 X-CLX-Shades: MLX X-CLX-Response: 1TFkXGxkTEQpMehcaEQpZTRdnZnIRCllJFxpxGhAadwYbGxNxGRoQG3cGGBo GGhEKWV4XaG55EQpJRhdFWEtJRk91WlhFTl9JXkNFRBl1T0sRCkNOF3J/SAcSeWgbGh5nYUccQX 9uWkxIGxxgQ1NME31PZXpvEQpYXBcfBBoEGxgYBxxLSEtPHhwaBRsaBBsaGgQeEgQbEBseGh8aE QpeWRd4cEFtTxEKTVwXGx0dEQpMWhdoaUJNeREKTU4XaBEKTEYXY2sRCkNaFxwaBBsTGwQbGBkE HxwRCkJeFxsRCkRYFxgRCkReFxkRCkRJFx4RCkJGF2cTbWAbW2VCH359EQpCXBcaEQpCRRduGVh MXmEBcFJMYREKQk4XZEJ8WkVEQWIdZFARCkJMF29+XU0YBV1mGlJ7EQpCbBdkYU9LYEJIEngdZx EKQkAXa0MFS1Mae3oTEnsRCk1eFxsRCnBoF29QBV9NYHxiYltNEBoRCnBoF2x/QBkSYVJMH2FhE BoRCnBoF2BZAWVBW1MaTl5CEBoRCnBoF2RQXGwSTEMFXkYeEBoRCnBoF2dzcH5DYHoaWmtgEBoR CnBsF21OG29TAUdSSB1zEB4SEQptfhcbEQpYTRdLESA= X-PDR: PASS X-Source-IP: 60.191.123.56 X-ServerName: smtp.h3c.com X-Proofpoint-SPF-Result: temperror X-Proofpoint-SPF-Record: N/A X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=8743 signatures=668646 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=0 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=139 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=741 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1711220000 definitions=main-1712130045 X-Spam: Clean Subject: [Ocfs2-devel] [PATCH] ocfs2/cluster: clean up unused function declaration in heartbeat.h X-BeenThere: ocfs2-devel@oss.oracle.com X-Mailman-Version: 2.1.9 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: ocfs2-devel-bounces@oss.oracle.com Errors-To: ocfs2-devel-bounces@oss.oracle.com X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=8743 signatures=668646 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1711220000 definitions=main-1712130045 X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Changwei Ge --- 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);