lkml.org 
[lkml]   [2007]   [Mar]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
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@stusta.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@stusta.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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2007-03-19 10:25    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site