summaryrefslogtreecommitdiff
path: root/target/linux/generic
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2013-02-10 18:38:12 +0000
committerGabor Juhos <juhosg@openwrt.org>2013-02-10 18:38:12 +0000
commit5f70b1db2af5138af968d848737ebb451ad2f4c6 (patch)
tree7dcd6a8e35366c172a572b03e1623451a051f626 /target/linux/generic
parent14fd37258b9f15b87decbff286c11973c41e07fd (diff)
downloadmtk-20170518-5f70b1db2af5138af968d848737ebb451ad2f4c6.zip
mtk-20170518-5f70b1db2af5138af968d848737ebb451ad2f4c6.tar.gz
mtk-20170518-5f70b1db2af5138af968d848737ebb451ad2f4c6.tar.bz2
generic: ar8216: remove redundant phy address check
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 35542
Diffstat (limited to 'target/linux/generic')
-rw-r--r--target/linux/generic/files/drivers/net/phy/ar8216.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/generic/files/drivers/net/phy/ar8216.c b/target/linux/generic/files/drivers/net/phy/ar8216.c
index f7ce018..4c83a6f 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;