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


Groups > linux.kernel > #1420934

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

From David Binderman <linuxdev.baldrick@gmail.com>
Newsgroups linux.kernel
Subject linux-4.7-rc3/drivers/dma/cppi41.c:509: pointless test ?
Date 2016-06-13 16:40 +0200
Message-ID <rJBbY-7vM-5@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View 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

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

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

csiph-web