Commit 35c26f4f authored by Russell King's avatar Russell King

[MMC] Remove unused host->priv

parent bb64ab54
......@@ -715,8 +715,6 @@ struct mmc_host *mmc_alloc_host(int extra, struct device *dev)
if (host) {
memset(host, 0, sizeof(struct mmc_host) + extra);
host->priv = host + 1;
spin_lock_init(&host->lock);
init_waitqueue_head(&host->wq);
INIT_LIST_HEAD(&host->cards);
......
......@@ -64,7 +64,6 @@ struct device;
struct mmc_host {
struct device *dev;
struct mmc_host_ops *ops;
void *priv;
unsigned int f_min;
unsigned int f_max;
u32 ocr_avail;
......
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