linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: David Binderman <linuxdev.baldrick@gmail.com>
To: dan.j.williams@intel.com, vinod.koul@intel.com,
	dmaengine@vger.kernel.org, linux-kernel@vger.kernel.org,
	dcb314@hotmail.com
Subject: linux-4.7-rc3/drivers/dma/cppi41.c:509: pointless test ?
Date: Mon, 13 Jun 2016 15:36:10 +0100	[thread overview]
Message-ID: <CAMzoamY3+R5fNu9-KCOg--mf6edQQC+gKa7dVS5GRLrY3K6FFw@mail.gmail.com> (raw)

Hello there,

linux-4.7-rc3/drivers/dma/cppi41.c:509]: (style) Condition 'num>0' is
always false

Source code is

      BUG_ON(num > 0);

Local variable num doesn't get used anywhere. Suggest remove.

Regards

David Binderman

                 reply	other threads:[~2016-06-13 14:36 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=CAMzoamY3+R5fNu9-KCOg--mf6edQQC+gKa7dVS5GRLrY3K6FFw@mail.gmail.com \
    --to=linuxdev.baldrick@gmail.com \
    --cc=dan.j.williams@intel.com \
    --cc=dcb314@hotmail.com \
    --cc=dmaengine@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=vinod.koul@intel.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;
as well as URLs for NNTP newsgroup(s).