commit c9fa736c192da4b31c8b418cc0f5859f7f5ecd67 Author: Jiri Slaby Date: Tue Jul 17 08:25:56 2007 +0200 don't alloc ATH_BCBUF diff --git a/ath.c b/ath.c index 034e23c..75c16bc 100644 --- a/ath.c +++ b/ath.c @@ -1551,7 +1551,7 @@ static int ath_desc_alloc(struct ath_softc *sc, struct pci_dev *pdev) DPRINTF(sc, ATH_DEBUG_ANY, "%s: DMA map: %p (%zu) -> %llx\n", __func__, ds, sc->desc_len, (unsigned long long)sc->desc_daddr); - bf = kcalloc(ATH_TXBUF + ATH_RXBUF + ATH_BCBUF + 1, + bf = kcalloc(ATH_TXBUF + ATH_RXBUF + /*ATH_BCBUF +*/ 1, sizeof(struct ath_buf), GFP_KERNEL); if (bf == NULL) { dev_err(&pdev->dev, "can't allocate bufptr\n");