projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix warning when clang is used as the compiler
[fio.git]
/
os
/
os-linux.h
diff --git
a/os/os-linux.h
b/os/os-linux.h
index 828b208136a393df16ed6d33c3da188da2025580..9f547fffe635ad0f652b1baa6a579032bdacc801 100644
(file)
--- a/
os/os-linux.h
+++ b/
os/os-linux.h
@@
-92,8
+92,8
@@
typedef struct drand48_data os_random_state_t;
sched_getaffinity((pid), (ptr))
#endif
sched_getaffinity((pid), (ptr))
#endif
-#define fio_cpu_clear(mask, cpu) CPU_CLR((cpu), (mask))
-#define fio_cpu_set(mask, cpu) CPU_SET((cpu), (mask))
+#define fio_cpu_clear(mask, cpu)
(void)
CPU_CLR((cpu), (mask))
+#define fio_cpu_set(mask, cpu)
(void)
CPU_SET((cpu), (mask))
static inline int fio_cpuset_init(os_cpu_mask_t *mask)
{
static inline int fio_cpuset_init(os_cpu_mask_t *mask)
{