linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* linux-4.7-rc3/drivers/dma/cppi41.c:509: pointless test ?
@ 2016-06-13 14:36 David Binderman
  0 siblings, 0 replies; only message in thread
From: David Binderman @ 2016-06-13 14:36 UTC (permalink / raw)
  To: dan.j.williams, vinod.koul, dmaengine, linux-kernel, dcb314

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-06-13 14:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-06-13 14:36 linux-4.7-rc3/drivers/dma/cppi41.c:509: pointless test ? David Binderman

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).