diff options
author | Winkler, Tomas <tomas.winkler@intel.com> | 2017-03-09 17:58:21 +0300 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2017-03-16 17:19:07 +0300 |
commit | 8bcd37d8b21de13d068414c018c9599281294a01 (patch) | |
tree | aae507767fa0b481d74fbb20e071bbc8cf2e2dbd /drivers/mmc/core | |
parent | 40ceda09c8c84694c2ca6b00bcc6dc71e8e62d96 (diff) | |
download | linux-8bcd37d8b21de13d068414c018c9599281294a01.tar.xz |
mmc: core: mmc_blk_rw_cmd_err - remove unused variable
Fix compilation warning:
drivers/mmc/core/block.c:1563:24: warning: variable ‘mq_rq’ set but not
used [-Wunused-but-set-variable] struct mmc_queue_req *mq_rq;
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/mmc/core')
-rw-r--r-- | drivers/mmc/core/block.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/mmc/core/block.c b/drivers/mmc/core/block.c index 05afefcfb611..ff3da960c473 100644 --- a/drivers/mmc/core/block.c +++ b/drivers/mmc/core/block.c @@ -1560,11 +1560,8 @@ static bool mmc_blk_rw_cmd_err(struct mmc_blk_data *md, struct mmc_card *card, struct mmc_blk_request *brq, struct request *req, bool old_req_pending) { - struct mmc_queue_req *mq_rq; bool req_pending; - mq_rq = container_of(brq, struct mmc_queue_req, brq); - /* * If this is an SD card and we're writing, we can first * mark the known good sectors as ok. |