summaryrefslogtreecommitdiff
path: root/drivers/mmc/core
diff options
context:
space:
mode:
authorWinkler, Tomas <tomas.winkler@intel.com>2017-03-09 17:58:21 +0300
committerUlf Hansson <ulf.hansson@linaro.org>2017-03-16 17:19:07 +0300
commit8bcd37d8b21de13d068414c018c9599281294a01 (patch)
treeaae507767fa0b481d74fbb20e071bbc8cf2e2dbd /drivers/mmc/core
parent40ceda09c8c84694c2ca6b00bcc6dc71e8e62d96 (diff)
downloadlinux-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.c3
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.