staging: octeon: Fix missing blank line warning.
authorMelike Yurtoglu <aysemelikeyurtoglu@gmail.com>
Sun, 28 Sep 2014 12:53:21 +0000 (15:53 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 29 Sep 2014 03:30:54 +0000 (23:30 -0400)
Fixes "Missing a blank line after declarations" checkpatch.pl warning in
ethernet-rgmii.c

Signed-off-by: Melike Yurtoglu <aysemelikeyurtoglu@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/octeon/ethernet-rgmii.c

index 651be7e1a8a7f51eac9184a41a01f036baa767d0..7eea5f03ddfc9dd1a470c9ece3edadf194d48d19 100644 (file)
@@ -83,6 +83,7 @@ static void cvm_oct_rgmii_poll(struct net_device *dev)
                        int interface = INTERFACE(priv->port);
                        int index = INDEX(priv->port);
                        union cvmx_gmxx_rxx_int_reg gmxx_rxx_int_reg;
+
                        gmxx_rxx_int_reg.u64 =
                            cvmx_read_csr(CVMX_GMXX_RXX_INT_REG
                                          (index, interface));
@@ -217,6 +218,7 @@ static irqreturn_t cvm_oct_rgmii_rml_interrupt(int cpl, void *dev_id)
 
                        /* Read the GMX interrupt status bits */
                        union cvmx_gmxx_rxx_int_reg gmx_rx_int_reg;
+
                        gmx_rx_int_reg.u64 =
                            cvmx_read_csr(CVMX_GMXX_RXX_INT_REG
                                          (index, interface));
@@ -261,6 +263,7 @@ static irqreturn_t cvm_oct_rgmii_rml_interrupt(int cpl, void *dev_id)
 
                        /* Read the GMX interrupt status bits */
                        union cvmx_gmxx_rxx_int_reg gmx_rx_int_reg;
+
                        gmx_rx_int_reg.u64 =
                            cvmx_read_csr(CVMX_GMXX_RXX_INT_REG
                                          (index, interface));
@@ -316,6 +319,7 @@ int cvm_oct_rgmii_open(struct net_device *dev)
        if (!octeon_is_simulation()) {
                if (priv->phydev) {
                        int r = phy_read_status(priv->phydev);
+
                        if (r == 0 && priv->phydev->link == 0)
                                netif_carrier_off(dev);
                        cvm_oct_adjust_link(dev);
@@ -407,6 +411,7 @@ int cvm_oct_rgmii_init(struct net_device *dev)
 void cvm_oct_rgmii_uninit(struct net_device *dev)
 {
        struct octeon_ethernet *priv = netdev_priv(dev);
+
        cvm_oct_common_uninit(dev);
 
        /*