@@ -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:
*/
@@ -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
@@ -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
* @{
*/
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