From: Ulrich Weigand Date: Mon, 16 Sep 2019 15:22:55 +0000 (+0200) Subject: headers: Remove le16/32/64_to_cpu X-Git-Tag: v15.1.0~1477^2~1 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=8f67fec1ba91856b186aa20a43e683b49c1e10cb;p=ceph-ci.git 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 --- diff --git a/src/include/byteorder.h b/src/include/byteorder.h index 85268543143..211b0a9441e 100644 --- a/src/include/byteorder.h +++ b/src/include/byteorder.h @@ -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)