[PATCHv2] staging: gs_fpgaboot: remove redundant code

Dan Carpenter dan.carpenter at oracle.com
Thu May 28 11:37:43 UTC 2015


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



More information about the devel mailing list