headers: Remove le16/32/64_to_cpu

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>
This commit is contained in:
Ulrich Weigand 2019-09-16 17:22:55 +02:00
parent 080a9fae5e
commit 8f67fec1ba

View 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)