diff mbox series

[04/29] helper: don't use __odp_force

Message ID 20171023111057.6328-5-dmitry.ereminsolenikov@linaro.org
State Superseded
Headers show
Series restructure headers for ABI-compat/platform-optimized modes | expand

Commit Message

Dmitry Eremin-Solenikov Oct. 23, 2017, 11:10 a.m. UTC
__odp_force is not part of ODP API, so it should not be used directly.

Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsolenikov@linaro.org>

---
 helper/include/odp/helper/chksum.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
2.14.2
diff mbox series

Patch

diff --git a/helper/include/odp/helper/chksum.h b/helper/include/odp/helper/chksum.h
index 1bf950c8bed0..a80e8be5d7e6 100644
--- a/helper/include/odp/helper/chksum.h
+++ b/helper/include/odp/helper/chksum.h
@@ -58,7 +58,7 @@  static inline odp_u16sum_t odph_chksum(void *buffer, int len)
 	sum += (sum >> 16);
 	result = ~sum;
 
-	return  (__odp_force odp_u16sum_t) result;
+	return (odp_u16sum_t)result;
 }
 
 /**