]> git.baikalelectronics.ru Git - kernel.git/commit
net: stmmac: platform: Delete a redundant condition branch
authorZhen Lei <thunder.leizhen@huawei.com>
Mon, 10 May 2021 14:10:02 +0000 (22:10 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 10 May 2021 21:50:00 +0000 (14:50 -0700)
commit909971254022440f46fb84d700579b55be4386e9
tree8c8d579b33659cdb34220b4ff48214eb45f8fe61
parentd5d19999fd7f15add4e04325d9a4d3a627f33080
net: stmmac: platform: Delete a redundant condition branch

The statement of the last "if (xxx)" branch is the same as the "else"
branch. Delete it to simplify code.

No functional change.

Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c