diff mbox series

[v2,1/4] linux-gen: timer: drop odp prefix from odp_timer_pool_new

Message ID 1507647610-23573-2-git-send-email-odpbot@yandex.ru
State New
Headers show
Series [v2,1/4] linux-gen: timer: drop odp prefix from odp_timer_pool_new | expand

Commit Message

Github ODP bot Oct. 10, 2017, 3 p.m. UTC
From: Maxim Uvarov <maxim.uvarov@linaro.org>


Internal static function does not need odp_ prefix.

Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>

---
/** Email created from pull request 205 (muvarov:master_timer_cleanup)
 ** https://github.com/Linaro/odp/pull/205
 ** Patch: https://github.com/Linaro/odp/pull/205.patch
 ** Base sha: 3bacbfd55edf76b897a4b2e5c62b59ca6fa95331
 ** Merge commit sha: 818bddefdf4c5afa6d1608da3de280ebcf585d75
 **/
 platform/linux-generic/odp_timer.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
diff mbox series

Patch

diff --git a/platform/linux-generic/odp_timer.c b/platform/linux-generic/odp_timer.c
index 3a8cfcddd..0a4fbb7e3 100644
--- a/platform/linux-generic/odp_timer.c
+++ b/platform/linux-generic/odp_timer.c
@@ -225,8 +225,8 @@  static inline odp_timer_t tp_idx_to_handle(struct odp_timer_pool_s *tp,
 static void itimer_init(odp_timer_pool *tp);
 static void itimer_fini(odp_timer_pool *tp);
 
-static odp_timer_pool_t odp_timer_pool_new(const char *name,
-					   const odp_timer_pool_param_t *param)
+static odp_timer_pool_t timer_pool_new(const char *name,
+				       const odp_timer_pool_param_t *param)
 {
 	uint32_t tp_idx = odp_atomic_fetch_add_u32(&num_timer_pools, 1);
 	if (odp_unlikely(tp_idx >= MAX_TIMER_POOLS)) {
@@ -804,7 +804,7 @@  odp_timer_pool_create(const char *name,
 		__odp_errno = EINVAL;
 		return ODP_TIMER_POOL_INVALID;
 	}
-	return odp_timer_pool_new(name, param);
+	return timer_pool_new(name, param);
 }
 
 void odp_timer_pool_start(void)