From: Kefu Chai Date: Wed, 10 Mar 2021 08:10:37 +0000 (+0800) Subject: include/byteorder: drop init_le*() helpers X-Git-Tag: v17.1.0~2643^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=f80ead83041e2994b1a077fce4b4068d1c68851a;p=ceph.git include/byteorder: drop init_le*() helpers they are not used anymore, so drop them. Signed-off-by: Kefu Chai --- 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;