Commit 23f37ef7 authored by Christian Lütke-Stetzkamp's avatar Christian Lütke-Stetzkamp Committed by Greg Kroah-Hartman

staging: mt7621-mmc: Remove unused field abort from msdc_host

The field abort of msdc_host is only set, but never read, so it can be
removed.
Signed-off-by: default avatarChristian Lütke-Stetzkamp <christian@lkamp.de>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent ec5e399e
...@@ -926,8 +926,6 @@ struct msdc_host { ...@@ -926,8 +926,6 @@ struct msdc_host {
u32 timeout_ns; /* data timeout ns */ u32 timeout_ns; /* data timeout ns */
u32 timeout_clks; /* data timeout clks */ u32 timeout_clks; /* data timeout clks */
atomic_t abort; /* abort transfer */
int irq; /* host interrupt */ int irq; /* host interrupt */
struct delayed_work card_delaywork; struct delayed_work card_delaywork;
......
...@@ -1207,7 +1207,6 @@ static int msdc_do_request(struct mmc_host *mmc, struct mmc_request *mrq) ...@@ -1207,7 +1207,6 @@ static int msdc_do_request(struct mmc_host *mmc, struct mmc_request *mrq)
BUG_ON(mrq == NULL); BUG_ON(mrq == NULL);
host->error = 0; host->error = 0;
atomic_set(&host->abort, 0);
cmd = mrq->cmd; cmd = mrq->cmd;
data = mrq->cmd->data; data = mrq->cmd->data;
...@@ -2020,7 +2019,6 @@ static irqreturn_t msdc_irq(int irq, void *dev_id) ...@@ -2020,7 +2019,6 @@ static irqreturn_t msdc_irq(int irq, void *dev_id)
msdc_reset_hw(host); msdc_reset_hw(host);
msdc_clr_fifo(); msdc_clr_fifo();
msdc_clr_int(); msdc_clr_int();
atomic_set(&host->abort, 1); /* For PIO mode exit */
if (intsts & MSDC_INT_DATTMO) { if (intsts & MSDC_INT_DATTMO) {
IRQ_MSG("XXX CMD<%d> MSDC_INT_DATTMO", host->mrq->cmd->opcode); IRQ_MSG("XXX CMD<%d> MSDC_INT_DATTMO", host->mrq->cmd->opcode);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment