kernel/tools/perf/bench/futex.h
.. .. @@ -86,16 +86,4 @@ 86 86 return futex(uaddr, FUTEX_CMP_REQUEUE, nr_wake, nr_requeue, uaddr2, 87 87 val, opflags); 88 88 } 89 -90 -#ifndef HAVE_PTHREAD_ATTR_SETAFFINITY_NP91 -#include <pthread.h>92 -#include <linux/compiler.h>93 -static inline int pthread_attr_setaffinity_np(pthread_attr_t *attr __maybe_unused,94 - size_t cpusetsize __maybe_unused,95 - cpu_set_t *cpuset __maybe_unused)96 -{97 - return 0;98 -}99 -#endif100 -101 89 #endif /* _FUTEX_H */