ubifs: use swap macro in swap_dirty_idx
authorGustavo A. R. Silva <gustavo@embeddedor.com>
Tue, 17 Jul 2018 16:56:43 +0000 (11:56 -0500)
committerRichard Weinberger <richard@nod.at>
Tue, 14 Aug 2018 22:25:08 +0000 (00:25 +0200)
commit1bf0572fe27030a0e82fc60f8323a2114c2b69d3
treea20f73223396ffbf5eaa2a4acb2fe80f0b0f465d
parent6cff57320275b52d0a84b616602539c79e8d7117
ubifs: use swap macro in swap_dirty_idx

Make use of the swap macro and remove unnecessary variable *t*. This
makes the code easier to read and maintain.

This code was detected with the help of Coccinelle.

Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
fs/ubifs/find.c