mmc: block: rename rqc and req
authorLinus Walleij <linus.walleij@linaro.org>
Wed, 1 Feb 2017 12:47:52 +0000 (13:47 +0100)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 13 Feb 2017 12:20:57 +0000 (13:20 +0100)
commitacd8dbd64a2adcd950c31261247cda6f847f57eb
treec2a5eba8e97dcf5cffcb6383cc1634e3cdddf47d
parentdb435505b561c1ca7b72c646dbc060f0c674360c
mmc: block: rename rqc and req

In the function mmc_blk_issue_rw_rq() the new request coming in
from the block layer is called "rqc" and the old request that
was potentially just returned back from the asynchronous
mechanism is called "req".

This is really confusing when trying to analyze and understand
the code, it becomes a perceptual nightmare to me. Maybe others
have better parserheads but it is not working for me.

Rename "rqc" to "new_req" and "req" to "old_req" to reflect what
is semantically going on into the syntax.

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