From: LABBE Corentin
Date: Wed, 4 Nov 2015 21:08:12 +0100
> The variable phy_iface is double-initialized and finally is not necessary
> at all.
>
> Reported-by: coverity (CID 1271141)
> Signed-off-by: LABBE Corentin
The value is used in two locations, so having it computed once in a
variable
The variable phy_iface is double-initialized and finally is not necessary
at all.
Reported-by: coverity (CID 1271141)
Signed-off-by: LABBE Corentin
---
drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c | 6 ++
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/drivers/net/ethernet/st