Re: [PATCH v2 net-next] bnxt_en: combine 'else if' and 'else' into single branch

From: David Miller
Date: Fri Aug 03 2018 - 12:45:27 EST


From: YueHaibing <yuehaibing@xxxxxxxxxx>
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@xxxxxxxxxx>
> Acked-by: Michael Chan <michael.chan@xxxxxxxxxxxx>
> ---
> v2: fix typos: 'branche'--> 'branch' , 'Aslo'-->'Also'

Applied.