dma-direct: consolidate the error handling in dma_direct_alloc_pages
Use a goto label to merge two error return cases.Signed-off-by: Christoph Hellwig <hch@lst.de>Reviewed-by: Robin Murphy <robin.murphy@arm.com>
Christoph Hellwig 6 years ago 3d0fc341 4f8232bb