Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1660647

Re: [PATCH 2/2(net.git)] stmmac: fix for hw timestamp of GMAC3 unit

From Andy Shevchenko <andy.shevchenko@gmail.com>
Newsgroups linux.kernel
Subject Re: [PATCH 2/2(net.git)] stmmac: fix for hw timestamp of GMAC3 unit
Date 2017-06-08 03:40 +0200
Message-ID <tPUAx-61U-3@gated-at.bofh.it> (permalink)
References <tPEP9-4gO-57@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Re: [PATCH 2/2(net.git)] stmmac: fix for hw timestamp of GMAC3 unit Andy Shevchenko <andy.shevchenko@gmail.com> - 2017-06-08 03:40 +0200
  Aw: Re: [PATCH 2/2(net.git)] stmmac: fix for hw timestamp of GMAC3  unit "Mario Molitor" <Mario_Molitor@web.de> - 2017-06-08 23:30 +0200

csiph-web