diff options
author | YueHaibing <yuehaibing@huawei.com> | 2018-08-03 16:48:56 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-08-03 09:42:00 -0700 |
commit | 6fd544c897d98bc6f185da215f1585dc144218cc (patch) | |
tree | 38dc7d50f525c1906a5906d976ea3d88a44059d4 /net/sched/cls_api.c | |
parent | tools: bpf: fix BTF code added twice to different trees (diff) | |
download | linux-dev-6fd544c897d98bc6f185da215f1585dc144218cc.tar.xz linux-dev-6fd544c897d98bc6f185da215f1585dc144218cc.zip |
bnxt_en: combine 'else if' and 'else' into single branch
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>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched/cls_api.c')
0 files changed, 0 insertions, 0 deletions