From 35c26f4f9c4ad232bad59132c42beb96ba404ea3 Mon Sep 17 00:00:00 2001 From: Russell King Date: Mon, 30 Aug 2004 12:30:55 +0100 Subject: [PATCH] [MMC] Remove unused host->priv --- drivers/mmc/mmc.c | 2 -- include/linux/mmc/host.h | 1 - 2 files changed, 3 deletions(-) diff --git a/drivers/mmc/mmc.c b/drivers/mmc/mmc.c index a9dd3c9727ebe..761987485ed46 100644 --- a/drivers/mmc/mmc.c +++ b/drivers/mmc/mmc.c @@ -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); diff --git a/include/linux/mmc/host.h b/include/linux/mmc/host.h index b2d00f3017fef..9cbbc82fd7df7 100644 --- a/include/linux/mmc/host.h +++ b/include/linux/mmc/host.h @@ -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; -- 2.53.0