Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1420934 > unrolled thread

linux-4.7-rc3/drivers/dma/cppi41.c:509: pointless test ?

Started byDavid Binderman <linuxdev.baldrick@gmail.com>
First post2016-06-13 16:40 +0200
Last post2016-06-13 16:40 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel


Contents

  linux-4.7-rc3/drivers/dma/cppi41.c:509: pointless test ? David Binderman <linuxdev.baldrick@gmail.com> - 2016-06-13 16:40 +0200

#1420934 — linux-4.7-rc3/drivers/dma/cppi41.c:509: pointless test ?

FromDavid Binderman <linuxdev.baldrick@gmail.com>
Date2016-06-13 16:40 +0200
Subjectlinux-4.7-rc3/drivers/dma/cppi41.c:509: pointless test ?
Message-ID<rJBbY-7vM-5@gated-at.bofh.it>
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

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web