lkml.org 
[lkml]   [2018]   [Aug]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH v2 net-next] bnxt_en: combine 'else if' and 'else' into single branch
From
From: YueHaibing <yuehaibing@huawei.com>
Date: Fri, 3 Aug 2018 16:48:56 +0800

> The else-if branch and else branch set mac_ok to true similarly,
> so combine the two into single else branch.
>
> Also add comments to explain the two conditions, which
> from Michael Chan and Vasundhara Volam.
>
> Signed-off-by: YueHaibing <yuehaibing@huawei.com>
> Acked-by: Michael Chan <michael.chan@broadcom.com>
> ---
> v2: fix typos: 'branche'--> 'branch' , 'Aslo'-->'Also'

Applied.

\
 
 \ /
  Last update: 2018-08-03 18:46    [W:0.052 / U:0.300 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site