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

2016-06-13 Thread David Binderman
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

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

2016-06-13 Thread David Binderman
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