phylink: Fix an uninitialized variable bug
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 9 Aug 2017 21:35:50 +0000 (00:35 +0300)
committerDavid S. Miller <davem@davemloft.net>
Fri, 11 Aug 2017 20:58:01 +0000 (13:58 -0700)
commitd18c2a1b159d107e341206500747dceabe8501fb
tree35c88ee3494de69d6a4455d47052a088bbd20c4d
parent35c7ad3567b06593adbddb59674737fd29d388ad
phylink: Fix an uninitialized variable bug

"ret" isn't necessarily initialized here.

Fixes: 9525ae83959b ("phylink: add phylink infrastructure")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/phylink.c