This patch prepares for merging the os-linux.h and os-android.h header files.
While CPU_CLR() and CPU_SET() are defined as statement expressions in
the Linux header files, these macros have been defined as statements in
the Android header files. Remove the '(void)' casts to prevent the
introduction of a build error when merging the Linux and Android header
files.
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
pthread_getaffinity_np(pthread_self(), sizeof(mask), &(mask))
#endif
-#define fio_cpu_clear(mask, cpu) (void) CPU_CLR((cpu), (mask))
-#define fio_cpu_set(mask, cpu) (void) CPU_SET((cpu), (mask))
+#define fio_cpu_clear(mask, cpu) CPU_CLR((cpu), (mask))
+#define fio_cpu_set(mask, cpu) CPU_SET((cpu), (mask))
#define fio_cpu_isset(mask, cpu) (CPU_ISSET((cpu), (mask)) != 0)
#define fio_cpu_count(mask) CPU_COUNT((mask))