treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / lib / locking-selftest-wsem.h
blob5ef18f931c9bcd78a72363aa41f568d170e2c7cd
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #undef LOCK
3 #define LOCK WSL
5 #undef UNLOCK
6 #define UNLOCK WSU
8 #undef RLOCK
9 #define RLOCK RSL
11 #undef WLOCK
12 #define WLOCK WSL
14 #undef INIT
15 #define INIT RWSI