staging: brcm80211: removed brcmf_sdioh_reset()

Code cleanup. This function did not perform a reset, hence it was removed.

Signed-off-by: Roland Vossen <rvossen@broadcom.com>
Reviewed-by: Arend van Spriel <arend@broadcom.com>
Reviewed-by: Franky Lin <frankyl@broadcom.com>
Signed-off-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
Roland Vossen 2011-07-05 22:06:00 +02:00 committed by Greg Kroah-Hartman
parent 7d72d3064e
commit 4fbb7b8128
5 changed files with 0 additions and 21 deletions

View File

@ -97,9 +97,6 @@ extern int brcmf_sdioh_abort(struct sdioh_info *si, uint fnc);
extern int brcmf_sdioh_start(struct sdioh_info *si, int stage); extern int brcmf_sdioh_start(struct sdioh_info *si, int stage);
extern int brcmf_sdioh_stop(struct sdioh_info *si); extern int brcmf_sdioh_stop(struct sdioh_info *si);
/* Reset and re-initialize the device */
extern int brcmf_sdioh_reset(struct sdioh_info *si);
/* Helper function */ /* Helper function */
void *brcmf_sdcard_get_sdioh(struct brcmf_sdio_card *card); void *brcmf_sdcard_get_sdioh(struct brcmf_sdio_card *card);

View File

@ -545,11 +545,6 @@ uint brcmf_sdcard_query_iofnum(struct brcmf_sdio_card *card)
return brcmf_sdioh_query_iofnum(card->sdioh); return brcmf_sdioh_query_iofnum(card->sdioh);
} }
int brcmf_sdcard_reset(struct brcmf_sdio_card *card)
{
return brcmf_sdioh_reset(card->sdioh);
}
void *brcmf_sdcard_get_sdioh(struct brcmf_sdio_card *card) void *brcmf_sdcard_get_sdioh(struct brcmf_sdio_card *card)
{ {
ASSERT(card); ASSERT(card);

View File

@ -846,14 +846,6 @@ extern int brcmf_sdioh_abort(struct sdioh_info *sd, uint func)
return 0; return 0;
} }
/* Reset and re-initialize the device */
int brcmf_sdioh_reset(struct sdioh_info *si)
{
sd_trace(("%s: Enter\n", __func__));
sd_trace(("%s: Exit\n", __func__));
return 0;
}
/* Disable device interrupt */ /* Disable device interrupt */
void brcmf_sdioh_dev_intr_off(struct sdioh_info *sd) void brcmf_sdioh_dev_intr_off(struct sdioh_info *sd)
{ {

View File

@ -6013,8 +6013,6 @@ int brcmf_bus_devreset(struct brcmf_pub *dhdp, u8 flag)
if (bus->dhd->dongle_reset) { if (bus->dhd->dongle_reset) {
/* Turn on WLAN */ /* Turn on WLAN */
/* Reset SD client */
brcmf_sdcard_reset(bus->card);
/* Attempt to re-attach & download */ /* Attempt to re-attach & download */
if (brcmf_sdbrcm_probe_attach(bus, bus->card, if (brcmf_sdbrcm_probe_attach(bus, bus->card,

View File

@ -207,9 +207,6 @@ extern int brcmf_sdcard_iovar_op(struct brcmf_sdio_card *card, const char *name,
void *params, int plen, void *arg, int len, void *params, int plen, void *arg, int len,
bool set); bool set);
/* Reset and reinitialize the device */
extern int brcmf_sdcard_reset(struct brcmf_sdio_card *card);
/* helper functions */ /* helper functions */
extern void *brcmf_sdcard_get_sdioh(struct brcmf_sdio_card *card); extern void *brcmf_sdcard_get_sdioh(struct brcmf_sdio_card *card);