From: johann Date: Thu, 3 Dec 2009 17:14:47 +0000 (+0000) Subject: Branch b1_8 X-Git-Tag: GIT_EPOCH_B1_6~2^6~4 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=b521bc87d69915c30e6c726a4e2ad4020c5272e4;p=fs%2Flustre-release.git Branch b1_8 b=20668 i=johann (patch from eeb) Remove trailing semicolons in do{}while(0) macro definitions. --- diff --git a/lnet/include/libcfs/libcfs.h b/lnet/include/libcfs/libcfs.h index 84e9ba1..ef6488f 100644 --- a/lnet/include/libcfs/libcfs.h +++ b/lnet/include/libcfs/libcfs.h @@ -553,7 +553,7 @@ extern int libcfs_debug_vmsg2(cfs_debug_limit_state_t *cdls, (libcfs_subsystem_debug & DEBUG_SUBSYSTEM) != 0)) \ libcfs_debug_vmsg(cdls, DEBUG_SUBSYSTEM, (mask), \ (file), (func), (line), fmt, args); \ -} while(0); +} while(0) #define cdebug(cdls, mask, file, func, line, fmt, a...) do { \ CHECK_STACK(); \ @@ -563,7 +563,7 @@ extern int libcfs_debug_vmsg2(cfs_debug_limit_state_t *cdls, (libcfs_subsystem_debug & DEBUG_SUBSYSTEM) != 0)) \ libcfs_debug_msg(cdls, DEBUG_SUBSYSTEM, (mask), \ (file), (func), (line), fmt, ## a); \ -} while(0); +} while(0) extern void libcfs_assertion_failed(const char *expr, const char *file, const char *fn, const int line); @@ -615,7 +615,7 @@ static inline cfs_duration_t cfs_timeout_cap(cfs_duration_t timeout) #define JOURNAL_EXIT(info) do { \ if (info != NULL) \ current->journal_info = info; \ -} while(0); +} while(0) /* * Universal memory allocator API