[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20070319092151.GE752@stusta.de>
Date: Mon, 19 Mar 2007 10:21:51 +0100
From: Adrian Bunk <bunk@...sta.de>
To: Pierre Ossman <drzeus-mmc@...eus.cx>
Cc: Andrew Morton <akpm@...ux-foundation.org>,
linux-kernel@...r.kernel.org
Subject: [-mm patch] remove mmc_deselect_cards()
On Thu, Mar 08, 2007 at 06:47:48AM +0100, Pierre Ossman wrote:
> Adrian Bunk wrote:
> > 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@...sta.de>
> >
>
> Indeed, but it's probably better to just remove it rather than have old crud
> lying around.
>
> Rgds
Updated patch below.
cu
Adrian
<-- snip -->
mmc_deselect_cards() is no longer used.
Signed-off-by: Adrian Bunk <bunk@...sta.de>
---
drivers/mmc/core/mmc_ops.c | 5 -----
drivers/mmc/core/mmc_ops.h | 1 -
2 files changed, 6 deletions(-)
--- linux-2.6.21-rc3-mm2/drivers/mmc/core/mmc_ops.h.old 2007-03-09 09:01:13.000000000 +0100
+++ linux-2.6.21-rc3-mm2/drivers/mmc/core/mmc_ops.h 2007-03-09 09:01:18.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-rc3-mm2/drivers/mmc/core/mmc_ops.c.old 2007-03-09 09:01:24.000000000 +0100
+++ linux-2.6.21-rc3-mm2/drivers/mmc/core/mmc_ops.c 2007-03-09 09:01:34.000000000 +0100
@@ -53,11 +53,6 @@
return _mmc_select_card(card->host, card);
}
-int mmc_deselect_cards(struct mmc_host *host)
-{
- return _mmc_select_card(host, NULL);
-}
-
int mmc_go_idle(struct mmc_host *host)
{
int err;
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists