[PATCH] net: nvidia: forcedeth: Drop a condition with no effect

2020-06-02 Thread Aishwarya Ramakrishnan
As the "else if" and "else" branch body are identical the condition has no effect. So removing "else if" condition. Signed-off-by: Aishwarya Ramakrishnan --- drivers/net/ethernet/nvidia/forcedeth.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/net/

[PATCH] net: stmmac: Drop condition with no effect

2020-06-02 Thread Aishwarya Ramakrishnan
As the "else if" and "else" branch body are identical the condition has no effect. So removing "else if" condition. Signed-off-by: Aishwarya Ramakrishnan --- drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c | 2 -- 1 file changed, 2 deletions(-) diff --git