projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
net: phy: initialize rc to zero to avoid returning garbage value
[cascardo/linux.git]
/
drivers
/
net
/
phy
/
mscc.c
diff --git
a/drivers/net/phy/mscc.c
b/drivers/net/phy/mscc.c
index
2e1de53
..
ad33390
100644
(file)
--- a/
drivers/net/phy/mscc.c
+++ b/
drivers/net/phy/mscc.c
@@
-84,7
+84,7
@@
static int vsc85xx_config_init(struct phy_device *phydev)
static int vsc85xx_ack_interrupt(struct phy_device *phydev)
{
- int rc;
+ int rc
= 0
;
if (phydev->interrupts == PHY_INTERRUPT_ENABLED)
rc = phy_read(phydev, MII_VSC85XX_INT_STATUS);