Skip to content
Commit 577dfe16 authored by Olav Haugan's avatar Olav Haugan Committed by Will Deacon
Browse files

arm64/dma-mapping: Remove extraneous null-pointer checks



The current null-pointer check in __dma_alloc_coherent and
__dma_free_coherent is not needed anymore since the
__dma_alloc/__dma_free functions won't be called if !dev (dummy ops will
be called instead).

Reviewed-by: default avatarCatalin Marinas <catalin.marinas@arm.com>
Signed-off-by: default avatarOlav Haugan <ohaugan@codeaurora.org>
Signed-off-by: default avatarWill Deacon <will.deacon@arm.com>
parent c484f256
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment