public inbox for dmaengine@vger.kernel.org
 help / color / mirror / Atom feed
From: Vinod Koul <vkoul@kernel.org>
To: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Cc: dmaengine@vger.kernel.org,
	Dan Williams <dan.j.williams@intel.com>,
	Peter Ujfalusi <peter.ujfalusi@ti.com>
Subject: Re: [PATCH v1] dmaengine: Save few bytes and increase readability of dma_request_chan()
Date: Thu, 3 Sep 2020 12:22:42 +0530	[thread overview]
Message-ID: <20200903065242.GG2639@vkoul-mobl> (raw)
In-Reply-To: <20200828144519.14483-1-andriy.shevchenko@linux.intel.com>

On 28-08-20, 17:45, Andy Shevchenko wrote:
> Split IS_ERR_OR_NULL() check followed by additional conditional
> to two simple conditionals. This increases readability and saves memory:
> 
> Function                                     old     new   delta
> dma_request_chan                             700     697      -3
> Total: Before=10224, After=10221, chg -0.03%

Applied, thanks

-- 
~Vinod

      reply	other threads:[~2020-09-03  6:52 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-28 14:45 [PATCH v1] dmaengine: Save few bytes and increase readability of dma_request_chan() Andy Shevchenko
2020-09-03  6:52 ` 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=20200903065242.GG2639@vkoul-mobl \
    --to=vkoul@kernel.org \
    --cc=andriy.shevchenko@linux.intel.com \
    --cc=dan.j.williams@intel.com \
    --cc=dmaengine@vger.kernel.org \
    --cc=peter.ujfalusi@ti.com \
    /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