diff options
author | Fabian Frederick <fabf@skynet.be> | 2015-05-18 19:52:58 +0200 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2015-06-01 09:07:08 +0200 |
commit | 75fda77b258f9aa90ce27fd7c8be2ecbdb7fc5d4 (patch) | |
tree | 3c024ed97a2bb37b8a3816f1bff3d4cf2195d179 /drivers/mmc/card | |
parent | 7c5209c315ea0f3102413ed1d6309be94b1e792f (diff) | |
download | blackbird-op-linux-75fda77b258f9aa90ce27fd7c8be2ecbdb7fc5d4.tar.gz blackbird-op-linux-75fda77b258f9aa90ce27fd7c8be2ecbdb7fc5d4.zip |
mmc: mmc-test: use swap() in mmc_test_nonblock_transfer()
Use kernel.h macro definition.
Signed-off-by: Fabian Frederick <fabf@skynet.be>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/mmc/card')
-rw-r--r-- | drivers/mmc/card/mmc_test.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/mmc/card/mmc_test.c b/drivers/mmc/card/mmc_test.c index 5e90b3f2d57c..b78cf5d403a3 100644 --- a/drivers/mmc/card/mmc_test.c +++ b/drivers/mmc/card/mmc_test.c @@ -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; } |