[PATCHv2] staging: gs_fpgaboot: remove redundant code

Gujulan Elango, Hari Prasath (H.) hgujulan at visteon.com
Thu May 28 11:49:14 UTC 2015


On Thu, May 28, 2015 at 02:37:43PM +0300, Dan Carpenter wrote:
> On Thu, May 28, 2015 at 11:32:21AM +0000, Gujulan Elango, Hari Prasath (H.) wrote:
> > The reason i did that was if the function doesn't hit any error
> > condition, then it needs to return 0. If the err variable is not
> > initialized to 0,I assume that it can take any value.Please correct me
> > if i am wrong.
> 
> You are wrong.  We always set err.
> 
> regards,
> dan carpenter
> 

Ok I got it. I will send v3 of this patch.


More information about the devel mailing list