[MMC] au1xmmc: Fix a compilation warning ('status' is not used)
authorMartin Michlmayr <tbm@cyrius.com>
Sat, 4 Mar 2006 23:02:10 +0000 (23:02 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 4 Mar 2006 23:02:10 +0000 (23:02 +0000)
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>
drivers/mmc/au1xmmc.c

index 4e1c61ae536cf9bb577a8ada3a4d354627a61b47..8d84b045bc83637df61dea3c83467ba63410654e 100644 (file)
@@ -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 */