Commit 69c9070c authored by Roland Vossen's avatar Roland Vossen Committed by Greg Kroah-Hartman

staging: brcm80211: removed brcmf_sdioh_start() and brcmf_sdioh_stop()

Code cleanup. These functions were empty.
Signed-off-by: default avatarRoland Vossen <rvossen@broadcom.com>
Reviewed-by: default avatarArend van Spriel <arend@broadcom.com>
Reviewed-by: default avatarFranky Lin <frankyl@broadcom.com>
Signed-off-by: default avatarArend van Spriel <arend@broadcom.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 4fbb7b81
...@@ -93,10 +93,6 @@ extern int brcmf_sdioh_iovar_op(struct sdioh_info *si, const char *name, ...@@ -93,10 +93,6 @@ extern int brcmf_sdioh_iovar_op(struct sdioh_info *si, const char *name,
/* Issue abort to the specified function and clear controller as needed */ /* Issue abort to the specified function and clear controller as needed */
extern int brcmf_sdioh_abort(struct sdioh_info *si, uint fnc); extern int brcmf_sdioh_abort(struct sdioh_info *si, uint fnc);
/* Start and Stop SDIO without re-enumerating the SD card. */
extern int brcmf_sdioh_start(struct sdioh_info *si, int stage);
extern int brcmf_sdioh_stop(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);
......
...@@ -521,16 +521,6 @@ int brcmf_sdcard_abort(struct brcmf_sdio_card *card, uint fn) ...@@ -521,16 +521,6 @@ int brcmf_sdcard_abort(struct brcmf_sdio_card *card, uint fn)
return brcmf_sdioh_abort(card->sdioh, fn); return brcmf_sdioh_abort(card->sdioh, fn);
} }
int brcmf_sdcard_start(struct brcmf_sdio_card *card, int stage)
{
return brcmf_sdioh_start(card->sdioh, stage);
}
int brcmf_sdcard_stop(struct brcmf_sdio_card *card)
{
return brcmf_sdioh_stop(card->sdioh);
}
int brcmf_sdcard_query_device(struct brcmf_sdio_card *card) int brcmf_sdcard_query_device(struct brcmf_sdio_card *card)
{ {
card->vendevid = (PCI_VENDOR_ID_BROADCOM << 16) | 0; card->vendevid = (PCI_VENDOR_ID_BROADCOM << 16) | 0;
......
...@@ -921,13 +921,3 @@ static void brcmf_sdioh_irqhandler_f2(struct sdio_func *func) ...@@ -921,13 +921,3 @@ static void brcmf_sdioh_irqhandler_f2(struct sdio_func *func)
ASSERT(sd != NULL); ASSERT(sd != NULL);
} }
int brcmf_sdioh_start(struct sdioh_info *si, int stage)
{
return 0;
}
int brcmf_sdioh_stop(struct sdioh_info *si)
{
return 0;
}
...@@ -190,12 +190,6 @@ extern int brcmf_sdcard_rwdata(struct brcmf_sdio_card *card, uint rw, u32 addr, ...@@ -190,12 +190,6 @@ extern int brcmf_sdcard_rwdata(struct brcmf_sdio_card *card, uint rw, u32 addr,
/* Issue an abort to the specified function */ /* Issue an abort to the specified function */
extern int brcmf_sdcard_abort(struct brcmf_sdio_card *card, uint fn); extern int brcmf_sdcard_abort(struct brcmf_sdio_card *card, uint fn);
/* Start SDIO Host Controller communication */
extern int brcmf_sdcard_start(struct brcmf_sdio_card *card, int stage);
/* Stop SDIO Host Controller communication */
extern int brcmf_sdcard_stop(struct brcmf_sdio_card *card);
/* Returns the "Device ID" of target device on the SDIO bus. */ /* Returns the "Device ID" of target device on the SDIO bus. */
extern int brcmf_sdcard_query_device(struct brcmf_sdio_card *card); extern int brcmf_sdcard_query_device(struct brcmf_sdio_card *card);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment