To please check-patch before the copy to the drv interface.

Signed-off-by: Christophe Milard <christophe.mil...@linaro.org>
---
 include/odp/api/spec/spinlock.h       | 7 -------
 platform/linux-generic/odp_spinlock.c | 4 ----
 2 files changed, 11 deletions(-)

diff --git a/include/odp/api/spec/spinlock.h b/include/odp/api/spec/spinlock.h
index 87f9b83..11b7339 100644
--- a/include/odp/api/spec/spinlock.h
+++ b/include/odp/api/spec/spinlock.h
@@ -4,7 +4,6 @@
  * SPDX-License-Identifier:     BSD-3-Clause
  */
 
-
 /**
  * @file
  *
@@ -41,7 +40,6 @@ extern "C" {
  */
 void odp_spinlock_init(odp_spinlock_t *splock);
 
-
 /**
  * Acquire spin lock.
  *
@@ -49,7 +47,6 @@ void odp_spinlock_init(odp_spinlock_t *splock);
  */
 void odp_spinlock_lock(odp_spinlock_t *splock);
 
-
 /**
  * Try to acquire spin lock.
  *
@@ -60,7 +57,6 @@ void odp_spinlock_lock(odp_spinlock_t *splock);
  */
 int odp_spinlock_trylock(odp_spinlock_t *splock);
 
-
 /**
  * Release spin lock.
  *
@@ -68,7 +64,6 @@ int odp_spinlock_trylock(odp_spinlock_t *splock);
  */
 void odp_spinlock_unlock(odp_spinlock_t *splock);
 
-
 /**
  * Check if spin lock is busy (locked).
  *
@@ -79,8 +74,6 @@ void odp_spinlock_unlock(odp_spinlock_t *splock);
  */
 int odp_spinlock_is_locked(odp_spinlock_t *splock);
 
-
-
 /**
  * @}
  */
diff --git a/platform/linux-generic/odp_spinlock.c 
b/platform/linux-generic/odp_spinlock.c
index 6fc138b..cb0f053 100644
--- a/platform/linux-generic/odp_spinlock.c
+++ b/platform/linux-generic/odp_spinlock.c
@@ -13,7 +13,6 @@ void odp_spinlock_init(odp_spinlock_t *spinlock)
        _odp_atomic_flag_init(&spinlock->lock, 0);
 }
 
-
 void odp_spinlock_lock(odp_spinlock_t *spinlock)
 {
        /* While the lock is already taken... */
@@ -25,19 +24,16 @@ void odp_spinlock_lock(odp_spinlock_t *spinlock)
                        odp_cpu_pause();
 }
 
-
 int odp_spinlock_trylock(odp_spinlock_t *spinlock)
 {
        return (_odp_atomic_flag_tas(&spinlock->lock) == 0);
 }
 
-
 void odp_spinlock_unlock(odp_spinlock_t *spinlock)
 {
        _odp_atomic_flag_clear(&spinlock->lock);
 }
 
-
 int odp_spinlock_is_locked(odp_spinlock_t *spinlock)
 {
        return _odp_atomic_flag_load(&spinlock->lock) != 0;
-- 
2.7.4

Reply via email to