On Thu, Jan 23, 2020 at 05:18:45PM +0900, Johannes Thumshirn wrote: > - if (!latest) > - return ERR_PTR(ret); > + if (ret) > + return ret; > > - return latest; > + return 0; This could be simpliried to 'return ret', no?
On Thu, Jan 23, 2020 at 05:18:45PM +0900, Johannes Thumshirn wrote: > - if (!latest) > - return ERR_PTR(ret); > + if (ret) > + return ret; > > - return latest; > + return 0; This could be simpliried to 'return ret', no?
![]() |