From: catalin.marinas@arm.com (Catalin Marinas)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2] arm64/dma-mapping: Remove extraneous null-pointer checks
Date: Wed, 14 Jun 2017 13:34:19 +0100 [thread overview]
Message-ID: <20170614123418.GB44176@MBP.local> (raw)
In-Reply-To: <20170613205614.15872-1-ohaugan@codeaurora.org>
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
prev parent reply other threads:[~2017-06-14 12:34 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-06-13 20:56 [PATCH v2] arm64/dma-mapping: Remove extraneous null-pointer checks Olav Haugan
2017-06-14 12:34 ` Catalin Marinas [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170614123418.GB44176@MBP.local \
--to=catalin.marinas@arm.com \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox