Commit 75fda77b authored by Fabian Frederick's avatar Fabian Frederick Committed by Ulf Hansson

mmc: mmc-test: use swap() in mmc_test_nonblock_transfer()

Use kernel.h macro definition.
Signed-off-by: default avatarFabian Frederick <fabf@skynet.be>
Signed-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
parent 7c5209c3
......@@ -820,9 +820,7 @@ static int mmc_test_nonblock_transfer(struct mmc_test_card *test,
mmc_test_nonblock_reset(&mrq1, &cmd1,
&stop1, &data1);
}
done_areq = cur_areq;
cur_areq = other_areq;
other_areq = done_areq;
swap(cur_areq, other_areq);
dev_addr += blocks;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment