Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1665753

Re: [PATCH v2] arm64/dma-mapping: Remove extraneous null-pointer checks

From Catalin Marinas <catalin.marinas@arm.com>
Newsgroups linux.kernel
Subject Re: [PATCH v2] arm64/dma-mapping: Remove extraneous null-pointer checks
Date 2017-06-14 14:40 +0200
Message-ID <tSfKx-5an-9@gated-at.bofh.it> (permalink)
References <tS14S-4hr-19@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue, Jun 13, 2017 at 01:56:14PM -0700, Olav Haugan wrote:
> 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).
> 
> Signed-off-by: Olav Haugan <ohaugan@codeaurora.org>
> ---
>  arch/arm64/include/asm/dma-mapping.h | 2 --
>  arch/arm64/mm/dma-mapping.c          | 9 ---------
>  2 files changed, 11 deletions(-)

Thanks.

Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>

Will should pick this up for 4.13

-- 
Catalin

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH v2] arm64/dma-mapping: Remove extraneous null-pointer checks Olav Haugan <ohaugan@codeaurora.org> - 2017-06-13 23:00 +0200
  Re: [PATCH v2] arm64/dma-mapping: Remove extraneous null-pointer  checks Catalin Marinas <catalin.marinas@arm.com> - 2017-06-14 14:40 +0200

csiph-web