]> Pileus Git - ~andy/linux/blobdiff - drivers/staging/et131x/et1310_phy.c
staging: et131x: Remove unecessary *etdev NULL check in et1310_phy_init()
[~andy/linux] / drivers / staging / et131x / et1310_phy.c
index 2385d04e74875ba39cab77205a3ce06ce164d326..36534260fae1d4f2c377203b363190f4f5e1e5fa 100644 (file)
@@ -908,9 +908,6 @@ void et1310_phy_init(struct et131x_adapter *etdev)
 {
        u16 data, index;
 
-       if (etdev == NULL)
-               return;
-
        /* get the identity (again ?) */
        et131x_mii_read(etdev, PHY_ID_1, &data);
        et131x_mii_read(etdev, PHY_ID_2, &data);