mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-04 19:54:59 +00:00
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>
This commit is contained in:
parent
4f8232bbf8
commit
3d0fc341c4
1 changed files with 6 additions and 7 deletions
Loading…
Add table
Add a link
Reference in a new issue