commit | 577dfe16b852a90f26cf677cdc9113ec34199de6 | [log] [tgz] |
---|---|---|
author | Olav Haugan <ohaugan@codeaurora.org> | Tue Jun 13 13:56:14 2017 -0700 |
committer | Will Deacon <will.deacon@arm.com> | Thu Jun 15 11:40:22 2017 +0100 |
tree | 12c8e916535935d9bf004fb26c66b973374d21fa | |
parent | c484f2564db12fa2b01b198ecb6ff0751a3e5e32 [diff] |
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: Catalin Marinas <catalin.marinas@arm.com> Signed-off-by: Olav Haugan <ohaugan@codeaurora.org> Signed-off-by: Will Deacon <will.deacon@arm.com>