diff options
author | Vijay Bellur <vijay@gluster.com> | 2009-06-17 11:52:13 +0000 |
---|---|---|
committer | Anand V. Avati <avati@dev.gluster.com> | 2009-06-17 16:04:33 -0700 |
commit | 7437305962f485074cf643fec8161925e9bd5225 (patch) | |
tree | 29172715697885539458418730bae9e4001f67ae /libglusterfs/src | |
parent | 9286a599f62289e8630ee28ea7da7308396d8fdf (diff) |
Removed the swap being done for __noswap functions.
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
Diffstat (limited to 'libglusterfs/src')
-rw-r--r-- | libglusterfs/src/byte-order.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libglusterfs/src/byte-order.h b/libglusterfs/src/byte-order.h index 76387c38b2f..cf93a67386e 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; } |