From: Vinod Koul <vkoul@kernel.org>
To: Colin King <colin.king@canonical.com>
Cc: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>,
Sia Jee Heng <jee.heng.sia@intel.com>,
Andy Shevchenko <andriy.shevchenko@linux.intel.com>,
dmaengine@vger.kernel.org, kernel-janitors@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH][next] dmaengine: dw-axi-dmac: remove redundant null check on desc
Date: Mon, 8 Feb 2021 17:40:03 +0530 [thread overview]
Message-ID: <20210208121003.GE879029@vkoul-mobl.Dlink> (raw)
In-Reply-To: <20210203134652.22618-1-colin.king@canonical.com>
On 03-02-21, 13:46, Colin King wrote:
> From: Colin Ian King <colin.king@canonical.com>
>
> The pointer desc is being null checked twice, the second null check
> is redundant because desc has not been re-assigned between the
> checks. Remove the redundant second null check on desc.
Applied, thanks
--
~Vinod
prev parent reply other threads:[~2021-02-08 12:12 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-02-03 13:46 [PATCH][next] dmaengine: dw-axi-dmac: remove redundant null check on desc Colin King
2021-02-04 0:18 ` Sia, Jee Heng
2021-02-08 12:09 ` Vinod Koul
2021-02-08 12:10 ` Vinod Koul [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=20210208121003.GE879029@vkoul-mobl.Dlink \
--to=vkoul@kernel.org \
--cc=Eugeniy.Paltsev@synopsys.com \
--cc=andriy.shevchenko@linux.intel.com \
--cc=colin.king@canonical.com \
--cc=dmaengine@vger.kernel.org \
--cc=jee.heng.sia@intel.com \
--cc=kernel-janitors@vger.kernel.org \
--cc=linux-kernel@vger.kernel.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