diff mbox

[API-NEXT,PATCHv3,03/18] linux-generic: cosmetic changes on byteorder files

Message ID 1469102786-65530-4-git-send-email-christophe.milard@linaro.org
State New
Headers show

Commit Message

Christophe Milard July 21, 2016, 12:06 p.m. UTC
To please check-patch before the copy to the drv interface.

Signed-off-by: Christophe Milard <christophe.milard@linaro.org>

---
 include/odp/api/spec/byteorder.h                              | 4 ----
 platform/linux-generic/include/odp/api/byteorder.h            | 3 ---
 platform/linux-generic/include/odp/api/plat/byteorder_types.h | 3 ---
 3 files changed, 10 deletions(-)

-- 
2.7.4
diff mbox

Patch

diff --git a/include/odp/api/spec/byteorder.h b/include/odp/api/spec/byteorder.h
index 802a015..6b18eb3 100644
--- a/include/odp/api/spec/byteorder.h
+++ b/include/odp/api/spec/byteorder.h
@@ -4,7 +4,6 @@ 
  * SPDX-License-Identifier:     BSD-3-Clause
  */
 
-
 /**
  * @file
  *
@@ -92,7 +91,6 @@  uint32_t odp_be_to_cpu_32(odp_u32be_t be32);
  */
 uint64_t odp_be_to_cpu_64(odp_u64be_t be64);
 
-
 /*
  * CPU byte order -> Big Endian:
  */
@@ -118,7 +116,6 @@  odp_u32be_t odp_cpu_to_be_32(uint32_t cpu32);
  */
 odp_u64be_t odp_cpu_to_be_64(uint64_t cpu64);
 
-
 /*
  * Little Endian -> CPU byte order:
  */
@@ -144,7 +141,6 @@  uint32_t odp_le_to_cpu_32(odp_u32le_t le32);
  */
 uint64_t odp_le_to_cpu_64(odp_u64le_t le64);
 
-
 /*
  * CPU byte order -> Little Endian:
  */
diff --git a/platform/linux-generic/include/odp/api/byteorder.h b/platform/linux-generic/include/odp/api/byteorder.h
index c347be0..df8e95b 100644
--- a/platform/linux-generic/include/odp/api/byteorder.h
+++ b/platform/linux-generic/include/odp/api/byteorder.h
@@ -52,7 +52,6 @@  static inline uint64_t odp_be_to_cpu_64(odp_u64be_t be64)
 #endif
 }
 
-
 static inline odp_u16be_t odp_cpu_to_be_16(uint16_t cpu16)
 {
 #if ODP_BYTE_ORDER == ODP_LITTLE_ENDIAN
@@ -80,7 +79,6 @@  static inline odp_u64be_t odp_cpu_to_be_64(uint64_t cpu64)
 #endif
 }
 
-
 static inline uint16_t odp_le_to_cpu_16(odp_u16le_t le16)
 {
 #if ODP_BYTE_ORDER == ODP_LITTLE_ENDIAN
@@ -108,7 +106,6 @@  static inline uint64_t odp_le_to_cpu_64(odp_u64le_t le64)
 #endif
 }
 
-
 static inline odp_u16le_t odp_cpu_to_le_16(uint16_t cpu16)
 {
 #if ODP_BYTE_ORDER == ODP_LITTLE_ENDIAN
diff --git a/platform/linux-generic/include/odp/api/plat/byteorder_types.h b/platform/linux-generic/include/odp/api/plat/byteorder_types.h
index 679d4cf..d4bf3d6 100644
--- a/platform/linux-generic/include/odp/api/plat/byteorder_types.h
+++ b/platform/linux-generic/include/odp/api/plat/byteorder_types.h
@@ -4,7 +4,6 @@ 
  * SPDX-License-Identifier:     BSD-3-Clause
  */
 
-
 /**
  * @file
  *
@@ -30,7 +29,6 @@  extern "C" {
 #error __LITTLE_ENDIAN not defined!
 #endif
 
-
 /* for use with type checkers such as sparse */
 #ifdef __CHECKER__
 /** @internal bitwise attribute */
@@ -44,7 +42,6 @@  extern "C" {
 #define __odp_force
 #endif
 
-
 /** @addtogroup odp_compiler_optim
  *  @{
  */