[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180320112053.zxudtqeemedogcel@mwanda>
Date: Tue, 20 Mar 2018 14:20:53 +0300
From: Dan Carpenter <dan.carpenter@...cle.com>
To: Pratik Jain <pratik.jain0509@...il.com>
Cc: arnaud.patard@...-net.org, devel@...verdev.osuosl.org,
gregkh@...uxfoundation.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] Staging: xgifb: XGI_main_26.c: Refactored the function
I'm trying to review this, but I feel like this makes it slightly more
complicated for no reason. Why break it up into two loops?
> - i++;
> + ++i;
These are equivalent, so you should default to accepting the original
author's style. Otherwise the next person to touch this code will just
change it back and we get into a cycle of pointless changes.
regards,
dan carpenter
Powered by blists - more mailing lists