]> git.droids-corp.org - dpdk.git/blobdiff - lib/librte_eal/common/include/arch/x86/rte_spinlock.h
remove extra parentheses in return statement
[dpdk.git] / lib / librte_eal / common / include / arch / x86 / rte_spinlock.h
index 20ef0a794a9ba69490010d5fcb0d861c2f21a0dc..02f95cbb65ef16e441be49e56ab970d7100ab416 100644 (file)
@@ -90,7 +90,7 @@ rte_spinlock_trylock (rte_spinlock_t *sl)
                        : "[lockval]" (lockval)
                        : "memory");
 
-       return (lockval == 0);
+       return lockval == 0;
 }
 #endif