[RFC: -mm patch] #if 0 mmc_deselect_cards()

Adrian Bunk
2007-03-07T22:41:36Z

On Tue, Mar 06, 2007 at 12:44:08AM -0800, Andrew Morton wrote:
>...
> Changes since 2.6.20-rc2-mm1:
>...
> git-mmc.patch
>...
> git trees
>...

mmc_deselect_cards() is no longer used.

Signed-off-by: Adrian Bunk <bunk@stusta.de>

---

drivers/mmc/core/mmc_ops.c | 2 ++
drivers/mmc/core/mmc_ops.h | 1 -
2 files changed, 2 insertions(+), 1 deletion(-)

--- linux-2.6.21-rc2-mm2/drivers/mmc/core/mmc_ops.h.old 2007-03-07 00:55:48.000000000 +0100
+++ linux-2.6.21-rc2-mm2/drivers/mmc/core/mmc_ops.h 2007-03-07 00:55:54.000000000 +0100
@@ -13,7 +13,6 @@
#define _MMC_MMC_OPS_H

int mmc_select_card(struct mmc_card *card);
-int mmc_deselect_cards(struct mmc_host *host);
int mmc_go_idle(struct mmc_host *host);
int mmc_send_op_cond(struct mmc_host *host, u32 ocr, u32 *rocr);
int mmc_all_send_cid(struct mmc_host *host, u32 *cid);
--- linux-2.6.21-rc2-mm2/drivers/mmc/core/mmc_ops.c.old 2007-03-07 00:56:00.000000000 +0100
+++ linux-2.6.21-rc2-mm2/drivers/mmc/core/mmc_ops.c 2007-03-07 00:56:22.000000000 +0100
@@ -53,10 +53,12 @@
return _mmc_select_card(card->host, card);
}

+#if 0
int mmc_deselect_cards(struct mmc_host *host)
{
return _mmc_select_card(host, NULL);
}
+#endif /* 0 */

int mmc_go_idle(struct mmc_host *host)
{