treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / arch / mips / lib / bswapsi.c
blob22d8e4f6d66ec5c178a48c189a4e75bbb98abd47
1 // SPDX-License-Identifier: GPL-2.0
2 #include <linux/export.h>
3 #include <linux/compiler.h>
5 unsigned int notrace __bswapsi2(unsigned int u)
7 return (((u) & 0xff000000) >> 24) |
8 (((u) & 0x00ff0000) >> 8) |
9 (((u) & 0x0000ff00) << 8) |
10 (((u) & 0x000000ff) << 24);
13 EXPORT_SYMBOL(__bswapsi2);