]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
headers: Remove le16/32/64_to_cpu
authorUlrich Weigand <ulrich.weigand@de.ibm.com>
Mon, 16 Sep 2019 15:22:55 +0000 (17:22 +0200)
committerUlrich Weigand <ulrich.weigand@de.ibm.com>
Wed, 18 Sep 2019 11:35:21 +0000 (13:35 +0200)
There are no remaining callers of these routines, which are no longer
required when using ceph_le16/32/64 (and were no-ops already).

Signed-off-by: Ulrich Weigand <ulrich.weigand@de.ibm.com>
src/include/byteorder.h

index 85268543143bc145112427aa43eb272210ce6077..211b0a9441ec897476ac686a1c9a0cbd7ca4de49 100644 (file)
@@ -99,11 +99,3 @@ inline ceph_le16 init_le16(__u16 x) {
   return v;
 }
 
-  /*
-#define cpu_to_le64(x) (x)
-#define cpu_to_le32(x) (x)
-#define cpu_to_le16(x) (x)
-  */
-#define le64_to_cpu(x) ((uint64_t)x)
-#define le32_to_cpu(x) ((__u32)x)
-#define le16_to_cpu(x) ((__u16)x)