Explorar o código

Simplify STARPU_UNLIKELY expressions

Samuel Thibault %!s(int64=4) %!d(string=hai) anos
pai
achega
277d888c35
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      include/starpu_util.h

+ 1 - 1
include/starpu_util.h

@@ -61,7 +61,7 @@ extern "C"
    expression as unlikely.
 */
 #ifdef __GNUC__
-#  define STARPU_UNLIKELY(expr)          (__builtin_expect(!!(expr),0))
+#  define STARPU_UNLIKELY(expr)          (__builtin_expect((expr),0))
 #else
 #  define STARPU_UNLIKELY(expr)          (expr)
 #endif