]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
include/byteorder: drop init_le*() helpers 39992/head
authorKefu Chai <kchai@redhat.com>
Wed, 10 Mar 2021 08:10:37 +0000 (16:10 +0800)
committerKefu Chai <kchai@redhat.com>
Wed, 10 Mar 2021 14:35:26 +0000 (22:35 +0800)
they are not used anymore, so drop them.

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/include/byteorder.h

index 189898121fd30feb03da7a5ca60e23de6c1d6426..eb6d5e102b4854c786eba69f3ecb4f7d70499ffb 100644 (file)
@@ -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;