mirror of
https://github.com/ceph/ceph
synced 2025-04-01 14:51:13 +00:00
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:
parent
080a9fae5e
commit
8f67fec1ba
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user