]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/include/encoding.h
update sources to v12.1.2
[ceph.git] / ceph / src / include / encoding.h
index 0013728efed91b39a7aab00e821c66c196658ed2..f7ee5d118285cf17e03ca83e028dade11d5c1171 100644 (file)
@@ -197,22 +197,6 @@ inline void encode(const char *s, bufferlist& bl)
 }
 
 
-// array
-template<class A>
-inline void encode_array_nohead(const A a[], int n, bufferlist &bl)
-{
-  for (int i=0; i<n; i++)
-    encode(a[i], bl);
-}
-template<class A>
-inline void decode_array_nohead(A a[], int n, bufferlist::iterator &p)
-{
-  for (int i=0; i<n; i++)
-    decode(a[i], p);
-}
-
-
-
 // -----------------------------
 // buffers