treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / arch / s390 / include / asm / xor.h
blob857d6759b67f0df42cd7f713db22e2297875b517
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3 * Optimited xor routines
5 * Copyright IBM Corp. 2016
6 * Author(s): Martin Schwidefsky <schwidefsky@de.ibm.com>
7 */
8 #ifndef _ASM_S390_XOR_H
9 #define _ASM_S390_XOR_H
11 extern struct xor_block_template xor_block_xc;
13 #undef XOR_TRY_TEMPLATES
14 #define XOR_TRY_TEMPLATES \
15 do { \
16 xor_speed(&xor_block_xc); \
17 } while (0)
19 #define XOR_SELECT_TEMPLATE(FASTEST) (&xor_block_xc)
21 #endif /* _ASM_S390_XOR_H */