lkml.org 
[lkml]   [2017]   [Jun]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH 2/2(net.git)] stmmac: fix for hw timestamp of GMAC3 unit
On Wed, Jun 7, 2017 at 11:45 AM, Mario Molitor <Mario_Molitor@web.de> wrote:

> exit:
> - return ret;

> + if (likely(ret == 0))
> + return 1;
> + else
> + return 0;

else is redundant.


--
With Best Regards,
Andy Shevchenko

\
 
 \ /
  Last update: 2017-06-12 01:20    [W:0.050 / U:0.036 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site