removed old dma allocation code