staging: brcm80211: removed brcmf_sdioh_start() and brcmf_sdioh_stop()
authorRoland Vossen <rvossen@broadcom.com>
Tue, 5 Jul 2011 20:06:01 +0000 (22:06 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 6 Jul 2011 02:41:38 +0000 (19:41 -0700)
Code cleanup. These functions were empty.

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>
drivers/staging/brcm80211/brcmfmac/bcmsdbus.h
drivers/staging/brcm80211/brcmfmac/bcmsdh.c
drivers/staging/brcm80211/brcmfmac/bcmsdh_sdmmc.c
drivers/staging/brcm80211/brcmfmac/sdio_host.h

index eb08152bae0a410b6e9fc7607df0a1487157077d..761ec209fb22794fe86e61ae1b8bd802bbe5ba76 100644 (file)
@@ -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 */
 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 */
 void *brcmf_sdcard_get_sdioh(struct brcmf_sdio_card *card);
 
index 11abd552fdf36797d4707ca11067ac9e220d4ea4..09bad40c01ed65e79afc6bfb2d529f0146eb05f6 100644 (file)
@@ -521,16 +521,6 @@ int brcmf_sdcard_abort(struct brcmf_sdio_card *card, uint 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)
 {
        card->vendevid = (PCI_VENDOR_ID_BROADCOM << 16) | 0;
index 0f0dc42e7c6c5a64a1ed42b7d2d9bb3e53a764a3..7da200f9b7a0b2d2463252577881c4b5b5a28a34 100644 (file)
@@ -921,13 +921,3 @@ static void brcmf_sdioh_irqhandler_f2(struct sdio_func *func)
 
        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;
-}
index df4063c9a4eae600e28d1d07018ed1cf33a7b2a1..712d0dff0d0deb8a526998cb416ab7e7d05ca341 100644 (file)
@@ -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 */
 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. */
 extern int brcmf_sdcard_query_device(struct brcmf_sdio_card *card);