Changeset 35562


Ignore:
Timestamp:
2013-02-11T17:57:31+01:00 (5 years ago)
Author:
juhosg
Message:

ar8216: remove superfluous code from ar8216_config_init

Signed-off-by: Gabor Juhos <juhosg@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/generic/files/drivers/net/phy/ar8216.c

    r35560 r35562  
    18621862        if (phydev->addr != 0) { 
    18631863                if (chip_is_ar8316(priv)) { 
    1864                         /* check if we're attaching to the switch twice */ 
    1865                         phydev = phydev->bus->phy_map[0]; 
    1866                         if (!phydev) 
    1867                                 return 0; 
    1868  
    1869                         /* switch device has not been initialized, reuse priv */ 
    1870                         if (!phydev->priv) { 
    1871                                 priv->port4_phy = true; 
    1872                                 priv->dev.ports = (AR8216_NUM_PORTS - 1); 
    1873                                 return 0; 
    1874                         } 
    1875  
    18761864                        /* switch device has been initialized, reinit */ 
    18771865                        priv->dev.ports = (AR8216_NUM_PORTS - 1); 
Note: See TracChangeset for help on using the changeset viewer.