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