Whamcloud - gitweb
LU-2675 build: assume __linux__ and __KERNEL__
[fs/lustre-release.git] / libcfs / include / libcfs / libcfs_private.h
index 8245c5b..0673b40 100644 (file)
@@ -311,13 +311,8 @@ int libcfs_debug_cleanup(void);
  * build go below this comment. Actual compiler/compiler version
  * specific implementations come from the above header files
  */
-#ifdef __GNUC__
 #define likely(x)      __builtin_expect(!!(x), 1)
 #define unlikely(x)    __builtin_expect(!!(x), 0)
-#else
-#define likely(x)      (!!(x))
-#define unlikely(x)    (!!(x))
-#endif
 /* !__KERNEL__ */
 #endif