treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / tools / build / feature / test-sched_getcpu.c
blob48995ac7911eae5084fada30c9b48069bdf2ba77
1 // SPDX-License-Identifier: GPL-2.0
2 #ifndef _GNU_SOURCE
3 #define _GNU_SOURCE
4 #endif
5 #include <sched.h>
7 int main(void)
9 return sched_getcpu();
12 #undef _GNU_SOURCE