Skip to content
Commit 6dff252b authored by Olav Haugan's avatar Olav Haugan
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).

Change-Id: I037c6fab4626dd0fc3ab13313a202ad14c8454b0
Signed-off-by: default avatarOlav Haugan <ohaugan@codeaurora.org>
parent a3ba7da6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment