From e6502d9bf7713651c864488160f3cac766d6a435 Mon Sep 17 00:00:00 2001 From: Gabor Juhos Date: Sun, 10 Feb 2013 18:38:12 +0000 Subject: [PATCH] generic: ar8216: remove redundant phy address check Signed-off-by: Gabor Juhos SVN-Revision: 35542 --- target/linux/generic/files/drivers/net/phy/ar8216.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/generic/files/drivers/net/phy/ar8216.c b/target/linux/generic/files/drivers/net/phy/ar8216.c index f7ce0189f0..4c83a6f62a 100644 --- a/target/linux/generic/files/drivers/net/phy/ar8216.c +++ b/target/linux/generic/files/drivers/net/phy/ar8216.c @@ -1881,7 +1881,7 @@ ar8216_config_init(struct phy_device *pdev) goto err_unregister_switch; /* VID fixup only needed on ar8216 */ - if (chip_is_ar8216(priv) && pdev->addr == 0) { + if (chip_is_ar8216(priv)) { dev->phy_ptr = priv; dev->priv_flags |= IFF_NO_IP_ALIGN; dev->eth_mangle_rx = ar8216_mangle_rx; -- 2.30.2