summaryrefslogtreecommitdiff
path: root/drivers/mmc/host/mmci.h
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2011-01-27 13:56:52 +0300
committerRussell King <rmk+kernel@arm.linux.org.uk>2011-02-04 16:25:48 +0300
commit51d4375dd72f352594f1a4f1d7598bf9a75b8dfe (patch)
tree723d843595f37c98edcad43711e687e054dddd0e /drivers/mmc/host/mmci.h
parentc4d877c1b3df58d89f01d7b211f58b944356eea3 (diff)
downloadlinux-51d4375dd72f352594f1a4f1d7598bf9a75b8dfe.tar.xz
ARM: mmci: no need for separate host->data_xfered
We don't need to store the number of bytes transferred in our host structure - we can store this directly in data->bytes_xfered. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'drivers/mmc/host/mmci.h')
-rw-r--r--drivers/mmc/host/mmci.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/mmc/host/mmci.h b/drivers/mmc/host/mmci.h
index c1df7b82d36c..164ce060fc1f 100644
--- a/drivers/mmc/host/mmci.h
+++ b/drivers/mmc/host/mmci.h
@@ -161,8 +161,6 @@ struct mmci_host {
int gpio_cd_irq;
bool singleirq;
- unsigned int data_xfered;
-
spinlock_t lock;
unsigned int mclk;