]> git.baikalelectronics.ru Git - kernel.git/commit
net: stmmac: fix double-initialization of phy_iface
authorLABBE Corentin <clabbe.montjoie@gmail.com>
Thu, 5 Nov 2015 09:26:46 +0000 (10:26 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 5 Nov 2015 19:09:26 +0000 (14:09 -0500)
commit95f5598a992da31c5d5afd5d02c17473a2befd0b
tree744e68408a066572d0a57016f8799611f141c3a8
parentb0169e144afee0cf590bbb5ea114a469a8ed5ebd
net: stmmac: fix double-initialization of phy_iface

The variable phy_iface is double-initialized to itself.
This patch remove that.

Reported-by: coverity (CID 1271141)
Signed-off-by: LABBE Corentin <clabbe.montjoie@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c