staging: brcm80211: Remove OSL_DMADDRWIDTH
authorBrett Rudley <brudley@broadcom.com>
Tue, 30 Nov 2010 23:22:13 +0000 (15:22 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 1 Dec 2010 22:55:50 +0000 (14:55 -0800)
Signed-off-by: Brett Rudley <brudley@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/brcm80211/include/linux_osl.h
drivers/staging/brcm80211/sys/wlc_bmac.c

index b973f3fea7e2869bb870217a6ce9a53f6cc0e267..18bc1f0d2d849aee526081b96dbe6c1216bace25 100644 (file)
@@ -85,9 +85,6 @@ extern uint osl_dma_map(struct osl_info *osh, void *va, uint size,
 extern void osl_dma_unmap(struct osl_info *osh, uint pa, uint size,
                          int direction);
 
-/* API for DMA addressing capability */
-#define OSL_DMADDRWIDTH(osh, addrwidth) do {} while (0)
-
 /* register access macros */
 #if defined(BCMSDIO)
 #ifdef BRCM_FULLMAC
index d427980aebed49ef78f2985027e31c44b658678e..2245a8b25a24c4c6212bfee3029da55fba5f1dae 100644 (file)
@@ -588,7 +588,6 @@ static bool wlc_bmac_attach_dmapio(wlc_info_t *wlc, uint j, bool wme)
                 */
                addrwidth =
                    dma_addrwidth(wlc_hw->sih, DMAREG(wlc_hw, DMA_TX, 0));
-               OSL_DMADDRWIDTH(osh, addrwidth);
 
                if (!wl_alloc_dma_resources(wlc_hw->wlc->wl, addrwidth)) {
                        WL_ERROR(("wl%d: wlc_attach: alloc_dma_resources failed\n", unit));