]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - drivers/net/dsa/mv88e6123.c
net: dsa: mv88e6xxx: factorize global setup
[mirror_ubuntu-artful-kernel.git] / drivers / net / dsa / mv88e6123.c
index fadec7a0e6b5e27476fd6602933269c2a453b00f..d74695ac0be68c19f1a18407498279005b379a35 100644 (file)
@@ -58,10 +58,6 @@ static int mv88e6123_setup_global(struct dsa_switch *ds)
        int ret;
        u32 reg;
 
-       ret = mv88e6xxx_setup_global(ds);
-       if (ret)
-               return ret;
-
        /* Disable the PHY polling unit (since there won't be any
         * external PHYs to poll), don't discard packets with
         * excessive collisions, and mask all interrupt sources.