Skip to content
Commit 3d0fc341 authored by Christoph Hellwig's avatar Christoph Hellwig
Browse files

dma-direct: consolidate the error handling in dma_direct_alloc_pages



Use a goto label to merge two error return cases.

Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
Reviewed-by: default avatarRobin Murphy <robin.murphy@arm.com>
parent 4f8232bb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment