lkml.org 
[lkml]   [2014]   [Aug]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 8/8] staging: et131x: Implement NAPI support
On Wed, 20 Aug 2014 23:17:58 +0100
Mark Einon <mark.einon@gmail.com> wrote:

> - bool done = true;
> + int count = 0;
> + int limit = budget;
> + bool not_done = false;

Don't use negative variables. Better to keep the original done variable.


\
 
 \ /
  Last update: 2014-08-21 05:41    [W:0.130 / U:0.028 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site