summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Michlmayr <tbm@cyrius.com>2006-03-05 00:02:10 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2006-03-05 00:02:10 +0100
commit732b82886017e9ceccb27c8b69e9210d5305088a (patch)
treea700d0628b93c15783c0c727b7fbcc51da52e7b7
parent[MMC] au1xmmc: Fix linking error because mmc_rsp_type doesn't exist (diff)
downloadlinux-732b82886017e9ceccb27c8b69e9210d5305088a.tar.xz
linux-732b82886017e9ceccb27c8b69e9210d5305088a.zip
[MMC] au1xmmc: Fix a compilation warning ('status' is not used)
Fix a trivial compilation warning: CC drivers/mmc/au1xmmc.o drivers/mmc/au1xmmc.c: In function ‘au1xmmc_dma_callback’: drivers/mmc/au1xmmc.c:743: warning: unused variable ‘status’ Signed-off-by: Martin Michlmayr <tbm@cyrius.com> Acked-by: Martin Michlmayr <tbm@cyrius.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
-rw-r--r--drivers/mmc/au1xmmc.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/mmc/au1xmmc.c b/drivers/mmc/au1xmmc.c
index 4e1c61ae536c..8d84b045bc83 100644
--- a/drivers/mmc/au1xmmc.c
+++ b/drivers/mmc/au1xmmc.c
@@ -740,7 +740,6 @@ static void au1xmmc_set_ios(struct mmc_host* mmc, struct mmc_ios* ios)
static void au1xmmc_dma_callback(int irq, void *dev_id, struct pt_regs *regs)
{
struct au1xmmc_host *host = (struct au1xmmc_host *) dev_id;
- u32 status;
/* Avoid spurious interrupts */