um: Use swap() to make code cleaner
authorYang Guang <yang.guang5@zte.com.cn>
Fri, 5 Nov 2021 06:12:59 +0000 (14:12 +0800)
committerRichard Weinberger <richard@nod.at>
Tue, 21 Dec 2021 20:41:04 +0000 (21:41 +0100)
commit9b0da3f22307af693be80f5d3a89dc4c7f360a85
treef4450fcd278fb5d041a92030dc5fffc52df5333b
parent4c1f795773b3ef6e206ef84bc6a928803fa31b7d
um: Use swap() to make code cleaner

Use the macro 'swap()' defined in 'include/linux/minmax.h' to avoid
opencoding it.

Reported-by: Zeal Robot <zealci@zte.com.cn>
Signed-off-by: Yang Guang <yang.guang5@zte.com.cn>
Signed-off-by: Richard Weinberger <richard@nod.at>
arch/um/os-Linux/sigio.c