Commit 8ed27151 authored by David S. Miller's avatar David S. Miller

[TG3]: Kill uninitialized var warning.

parent a9c0b264
......@@ -6529,7 +6529,7 @@ static int __devinit tg3_phy_probe(struct tg3 *tp)
*/
err = 0;
if (tp->tg3_flags & TG3_FLAG_ENABLE_ASF) {
hw_phy_id_masked = PHY_ID_INVALID;
hw_phy_id = hw_phy_id_masked = PHY_ID_INVALID;
} else {
/* Now read the physical PHY_ID from the chip and verify
* that it is sane. If it doesn't look good, we fall back
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment