raid5-ppl: use swap() to make code cleaner
authorYang Guang <yang.guang5@zte.com.cn>
Thu, 28 Oct 2021 08:48:05 +0000 (08:48 +0000)
committerSong Liu <songliubraving@fb.com>
Tue, 2 Nov 2021 18:41:45 +0000 (11:41 -0700)
commit1e37799b50eccb79c59c660b330746a7848c346b
tree1d8f107b9eba94ce7153130d508736fbf8e55553
parent8c13ab115b577bd09097b9d77916732e97e31b7b
raid5-ppl: 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: Song Liu <songliubraving@fb.com>
drivers/md/raid5-ppl.c