Whamcloud - gitweb
LU-4992 llite: validate names
[fs/lustre-release.git] / libcfs / include / libcfs / libcfs_private.h
index c8aaabc..45c4565 100644 (file)
@@ -662,15 +662,6 @@ do {                                                            \
         ptr += cfs_size_round(len);                             \
 } while (0)
 
-#define LOGL0(var,len,ptr)                              \
-do {                                                    \
-        if (!len)                                       \
-                break;                                  \
-        memcpy((char *)ptr, (const char *)var, len);    \
-        *((char *)(ptr) + len) = 0;                     \
-        ptr += cfs_size_round(len + 1);                 \
-} while (0)
-
 /**
  *  Lustre Network Driver types.
  */