OSDN Git Service

mmc: block: introduce new_areq and old_areq
authorLinus Walleij <linus.walleij@linaro.org>
Tue, 24 Jan 2017 10:17:56 +0000 (11:17 +0100)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 13 Feb 2017 12:20:39 +0000 (13:20 +0100)
commit7d552a48089b6a24b65abe9c49a184bae8364abe
tree9e3ba86c298358bdd4a8586fe9250511db4c4cbc
parentda0dbaffe354043bb0cd61c00c650c819d104b29
mmc: block: introduce new_areq and old_areq

Recycling the same variable in an x=x+1 fashion may seem
clever here but it makes the code terse and hard to follow
for humans. Introduce a new_areq and old_areq variable so
we see what is going on.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/core/block.c