From f80ead83041e2994b1a077fce4b4068d1c68851a Mon Sep 17 00:00:00 2001 From: Kefu Chai Date: Wed, 10 Mar 2021 16:10:37 +0800 Subject: [PATCH] include/byteorder: drop init_le*() helpers they are not used anymore, so drop them. Signed-off-by: Kefu Chai --- src/include/byteorder.h | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/src/include/byteorder.h b/src/include/byteorder.h index 189898121fd..eb6d5e102b4 100644 --- a/src/include/byteorder.h +++ b/src/include/byteorder.h @@ -38,22 +38,6 @@ using ceph_les64 = ceph_le<__s64>; using ceph_les32 = ceph_le<__s32>; using ceph_les16 = ceph_le<__s16>; -inline ceph_le64 init_le64(__u64 x) { - ceph_le64 v; - v = x; - return v; -} -inline ceph_le32 init_le32(__u32 x) { - ceph_le32 v; - v = x; - return v; -} -inline ceph_le16 init_le16(__u16 x) { - ceph_le16 v; - v = x; - return v; -} - inline ceph_les64 init_les64(__s64 x) { ceph_les64 v; v = x; -- 2.47.3