diff options
author | Winkler, Tomas <tomas.winkler@intel.com> | 2017-03-09 16:58:21 +0200 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2017-03-16 15:19:07 +0100 |
commit | 8bcd37d8b21de13d068414c018c9599281294a01 (patch) | |
tree | aae507767fa0b481d74fbb20e071bbc8cf2e2dbd | |
parent | 40ceda09c8c84694c2ca6b00bcc6dc71e8e62d96 (diff) | |
download | op-kernel-dev-8bcd37d8b21de13d068414c018c9599281294a01.zip op-kernel-dev-8bcd37d8b21de13d068414c018c9599281294a01.tar.gz |
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>
-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 05afefc..ff3da96 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. |