Skip to content
Snippets Groups Projects
Commit 934facec authored by Liang Zhen's avatar Liang Zhen
Browse files

Remove semicolon after MACRO do {...} while (0)

parent c435b48f
No related branches found
No related tags found
No related merge requests found
......@@ -218,11 +218,11 @@ do { \
do { \
(ptr) = malloc(size); \
memset(ptr, 0, size); \
} while (0);
} while (0)
# else
# define LIBCFS_ALLOC(ptr, size) do { (ptr) = calloc(1,size); } while (0);
# define LIBCFS_ALLOC(ptr, size) do { (ptr) = calloc(1,size); } while (0)
# endif
# define LIBCFS_FREE(a, b) do { free(a); } while (0);
# define LIBCFS_FREE(a, b) do { free(a); } while (0)
void libcfs_debug_dumplog(void);
int libcfs_debug_init(unsigned long bufsize);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment