Whamcloud - gitweb
LU-9859 gss: replace cfs_size_roundXX macros.
[fs/lustre-release.git] / libcfs / include / libcfs / libcfs_private.h
index 6994b40..a60f142 100644 (file)
@@ -330,11 +330,6 @@ do {                                                            \
 
 #define MKSTR(ptr) ((ptr))? (ptr) : ""
 
-static inline size_t cfs_size_round4(size_t val)
-{
-        return (val + 3) & (~0x3);
-}
-
 #ifndef HAVE_CFS_SIZE_ROUND
 static inline size_t cfs_size_round(size_t val)
 {
@@ -343,26 +338,4 @@ static inline size_t cfs_size_round(size_t val)
 #define HAVE_CFS_SIZE_ROUND
 #endif
 
-static inline size_t cfs_size_round16(size_t val)
-{
-        return (val + 0xf) & (~0xf);
-}
-
-static inline size_t cfs_size_round32(size_t val)
-{
-        return (val + 0x1f) & (~0x1f);
-}
-
-static inline size_t cfs_size_round0(size_t val)
-{
-        if (!val)
-                return 0;
-        return (val + 1 + 7) & (~0x7);
-}
-
-static inline size_t cfs_round_strlen(char *fset)
-{
-       return cfs_size_round(strlen(fset) + 1);
-}
-
 #endif