From 4e757c20a425d954513fc7931a84208d0fd6cfbe Mon Sep 17 00:00:00 2001 From: Vijay Bellur Date: Wed, 17 Jun 2009 11:52:13 +0000 Subject: Removed the swap being done for __noswap functions. Signed-off-by: Anand V. Avati --- libglusterfs/src/byte-order.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libglusterfs/src/byte-order.h') diff --git a/libglusterfs/src/byte-order.h b/libglusterfs/src/byte-order.h index 76387c38b..cf93a6738 100644 --- a/libglusterfs/src/byte-order.h +++ b/libglusterfs/src/byte-order.h @@ -67,21 +67,21 @@ __swap64 (uint64_t x) static inline uint16_t __noswap16 (uint16_t x) { - return do_swap2(x); + return x; } static inline uint32_t __noswap32 (uint32_t x) { - return do_swap4(x); + return x; } static inline uint64_t __noswap64 (uint64_t x) { - return do_swap8(x); + return x; } -- cgit