lkml.org 
[lkml]   [2016]   [Jun]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
Subjectlinux-4.7-rc3/drivers/dma/cppi41.c:509: pointless test ?
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

\
 
 \ /
  Last update: 2016-06-13 17:21    [W:0.027 / U:0.628 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site