phy: kill excess empty lines
[platform/adaptation/renesas_rcar/renesas_kernel.git] / drivers / net / phy / phy.c
index 43c5173..4e6dcc1 100644 (file)
@@ -384,7 +384,6 @@ int phy_start_aneg(struct phy_device *phydev)
                phy_sanitize_settings(phydev);
 
        err = phydev->drv->config_aneg(phydev);
-
        if (err < 0)
                goto out_unlock;
 
@@ -404,7 +403,6 @@ out_unlock:
 }
 EXPORT_SYMBOL(phy_start_aneg);
 
-
 /**
  * phy_start_machine - start PHY state machine tracking
  * @phydev: the phy_device struct
@@ -514,13 +512,11 @@ static int phy_disable_interrupts(struct phy_device *phydev)
 
        /* Disable PHY interrupts */
        err = phy_config_interrupt(phydev, PHY_INTERRUPT_DISABLED);
-
        if (err)
                goto phy_err;
 
        /* Clear the interrupt */
        err = phy_clear_interrupt(phydev);
-
        if (err)
                goto phy_err;
 
@@ -589,7 +585,6 @@ int phy_stop_interrupts(struct phy_device *phydev)
 }
 EXPORT_SYMBOL(phy_stop_interrupts);
 
-
 /**
  * phy_change - Scheduled by the phy_interrupt/timer to handle PHY changes
  * @work: work_struct that describes the work to be done
@@ -622,7 +617,6 @@ void phy_change(struct work_struct *work)
        /* reschedule state queue work to run as soon as possible */
        cancel_delayed_work_sync(&phydev->state_queue);
        queue_delayed_work(system_power_efficient_wq, &phydev->state_queue, 0);
-
        return;
 
 ignore:
@@ -668,7 +662,6 @@ out_unlock:
 }
 EXPORT_SYMBOL(phy_stop);
 
-
 /**
  * phy_start - start or restart a PHY device
  * @phydev: target phy_device struct
@@ -730,7 +723,6 @@ void phy_state_machine(struct work_struct *work)
                break;
        case PHY_AN:
                err = phy_read_status(phydev);
-
                if (err < 0)
                        break;
 
@@ -762,7 +754,6 @@ void phy_state_machine(struct work_struct *work)
                break;
        case PHY_NOLINK:
                err = phy_read_status(phydev);
-
                if (err)
                        break;
 
@@ -774,7 +765,6 @@ void phy_state_machine(struct work_struct *work)
                break;
        case PHY_FORCING:
                err = genphy_update_link(phydev);
-
                if (err)
                        break;
 
@@ -797,7 +787,6 @@ void phy_state_machine(struct work_struct *work)
                break;
        case PHY_CHANGELINK:
                err = phy_read_status(phydev);
-
                if (err)
                        break;
 
@@ -824,14 +813,11 @@ void phy_state_machine(struct work_struct *work)
                }
                break;
        case PHY_RESUMING:
-
                err = phy_clear_interrupt(phydev);
-
                if (err)
                        break;
 
                err = phy_config_interrupt(phydev, PHY_INTERRUPT_ENABLED);
-
                if (err)
                        break;