From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id B7C56378B for ; Tue, 8 Mar 2016 11:51:20 +0100 (CET) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga103.fm.intel.com with ESMTP; 08 Mar 2016 02:50:59 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.22,556,1449561600"; d="scan'208";a="904825380" Received: from sie-lab-212-120.ir.intel.com (HELO silpixa00394367.ir.intel.com) ([10.237.212.120]) by orsmga001.jf.intel.com with ESMTP; 08 Mar 2016 02:50:58 -0800 From: Harry van Haaren To: remy.horton@intel.com Date: Tue, 8 Mar 2016 10:50:40 +0000 Message-Id: <1457434240-13707-4-git-send-email-harry.van.haaren@intel.com> X-Mailer: git-send-email 2.5.0 In-Reply-To: <1457434240-13707-1-git-send-email-harry.van.haaren@intel.com> References: <1456140362-3771-1-git-send-email-harry.van.haaren@intel.com> <1457434240-13707-1-git-send-email-harry.van.haaren@intel.com> Cc: dev@dpdk.org Subject: [dpdk-dev] [PATCH v4 3/3] keepalive: fix whitespace, removes double newlines X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Mar 2016 10:51:21 -0000 This patch removes double newlines between functions in keepalive.[hc] aligning it with the rest of DPDK. Fixes: 75583b0d1efd ("eal: add keep alive monitoring") Signed-off-by: Harry van Haaren --- lib/librte_eal/common/include/rte_keepalive.h | 7 ------- lib/librte_eal/common/rte_keepalive.c | 5 ----- 2 files changed, 12 deletions(-) diff --git a/lib/librte_eal/common/include/rte_keepalive.h b/lib/librte_eal/common/include/rte_keepalive.h index f4cec04..10dac2e 100644 --- a/lib/librte_eal/common/include/rte_keepalive.h +++ b/lib/librte_eal/common/include/rte_keepalive.h @@ -48,7 +48,6 @@ #define RTE_KEEPALIVE_MAXCORES RTE_MAX_LCORE #endif - /** * Keepalive failure callback. * @@ -59,14 +58,12 @@ typedef void (*rte_keepalive_failure_callback_t)( void *data, const int id_core); - /** * Keepalive state structure. * @internal */ struct rte_keepalive; - /** * Initialise keepalive sub-system. * @param callback @@ -80,7 +77,6 @@ struct rte_keepalive *rte_keepalive_create( rte_keepalive_failure_callback_t callback, void *data); - /** * Checks & handles keepalive state of monitored cores. * @param *ptr_timer Triggering timer (unused) @@ -88,7 +84,6 @@ struct rte_keepalive *rte_keepalive_create( */ void rte_keepalive_dispatch_pings(void *ptr_timer, void *ptr_data); - /** * Registers a core for keepalive checks. * @param *keepcfg @@ -99,7 +94,6 @@ void rte_keepalive_dispatch_pings(void *ptr_timer, void *ptr_data); void rte_keepalive_register_core(struct rte_keepalive *keepcfg, const int id_core); - /** * Per-core keepalive check. * @param *keepcfg @@ -111,5 +105,4 @@ void rte_keepalive_register_core(struct rte_keepalive *keepcfg, void rte_keepalive_mark_alive(struct rte_keepalive *keepcfg); - #endif /* _KEEPALIVE_H_ */ diff --git a/lib/librte_eal/common/rte_keepalive.c b/lib/librte_eal/common/rte_keepalive.c index 56df0b1..23363ec 100644 --- a/lib/librte_eal/common/rte_keepalive.c +++ b/lib/librte_eal/common/rte_keepalive.c @@ -70,7 +70,6 @@ struct rte_keepalive { uint64_t tsc_mhz; }; - static void print_trace(const char *msg, struct rte_keepalive *keepcfg, int idx_core) { @@ -81,7 +80,6 @@ print_trace(const char *msg, struct rte_keepalive *keepcfg, int idx_core) ); } - void rte_keepalive_dispatch_pings(__rte_unused void *ptr_timer, void *ptr_data) @@ -117,7 +115,6 @@ rte_keepalive_dispatch_pings(__rte_unused void *ptr_timer, } } - struct rte_keepalive * rte_keepalive_create(rte_keepalive_failure_callback_t callback, void *data) @@ -136,7 +133,6 @@ rte_keepalive_create(rte_keepalive_failure_callback_t callback, return keepcfg; } - void rte_keepalive_register_core(struct rte_keepalive *keepcfg, const int id_core) { @@ -146,7 +142,6 @@ rte_keepalive_register_core(struct rte_keepalive *keepcfg, const int id_core) } } - void rte_keepalive_mark_alive(struct rte_keepalive *keepcfg) { -- 2.5.0