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

From: David Binderman
Date: Mon Jun 13 2016 - 10:36:16 EST


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