]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
sfc: Add/remove blank lines to taste
authorBen Hutchings <bhutchings@solarflare.com>
Wed, 12 Feb 2014 19:00:37 +0000 (19:00 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 12 Feb 2014 22:53:35 +0000 (17:53 -0500)
Remove trailing blank lines in several files.
Use only one blank line between functions.
Add a blank line as a separator in a few places.

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: Shradha Shah <sshah@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/sfc/ethtool.c
drivers/net/ethernet/sfc/falcon.c
drivers/net/ethernet/sfc/farch.c
drivers/net/ethernet/sfc/net_driver.h
drivers/net/ethernet/sfc/nic.c

index 7d5cb86a47efabd927f86fd2543d80e4ac7da910..89fcaffd7de239215e6e02b0c3f93708396d957c 100644 (file)
@@ -699,7 +699,6 @@ static void efx_ethtool_get_pauseparam(struct net_device *net_dev,
        pause->autoneg = !!(efx->wanted_fc & EFX_FC_AUTO);
 }
 
-
 static void efx_ethtool_get_wol(struct net_device *net_dev,
                                struct ethtool_wolinfo *wol)
 {
index 18d6f761f4d06b18cd060e66d8625a4aa06aa6c2..72652f380243adc9eaf93e0e565a14e203854279 100644 (file)
@@ -422,7 +422,6 @@ static inline void falcon_irq_ack_a1(struct efx_nic *efx)
        efx_readd(efx, &reg, FR_AA_WORK_AROUND_BROKEN_PCI_READS);
 }
 
-
 static irqreturn_t falcon_legacy_interrupt_a1(int irq, void *dev_id)
 {
        struct efx_nic *efx = dev_id;
@@ -467,6 +466,7 @@ static irqreturn_t falcon_legacy_interrupt_a1(int irq, void *dev_id)
                efx_schedule_channel_irq(efx_get_channel(efx, 1));
        return IRQ_HANDLED;
 }
+
 /**************************************************************************
  *
  * RSS
@@ -1358,6 +1358,7 @@ static void falcon_reconfigure_mac_wrapper(struct efx_nic *efx)
        case 100:   link_speed = 1; break;
        default:    link_speed = 0; break;
        }
+
        /* MAC_LINK_STATUS controls MAC backpressure but doesn't work
         * as advertised.  Disable to ensure packets are not
         * indefinitely held and TX queue can be flushed at any point
@@ -2868,4 +2869,3 @@ const struct efx_nic_type falcon_b0_nic_type = {
        .mcdi_max_ver = -1,
        .max_rx_ip_filters = FR_BZ_RX_FILTER_TBL0_ROWS,
 };
-
index f72489a105cadcf23a7e4d253c3e9a9e2a81d56f..aa1b169f45ec1fec4c989443bc493d8c03ea080e 100644 (file)
@@ -311,7 +311,6 @@ static inline void efx_farch_push_tx_desc(struct efx_tx_queue *tx_queue,
  */
 void efx_farch_tx_write(struct efx_tx_queue *tx_queue)
 {
-
        struct efx_tx_buffer *buffer;
        efx_qword_t *txd;
        unsigned write_ptr;
@@ -1609,7 +1608,6 @@ irqreturn_t efx_farch_msi_interrupt(int irq, void *dev_id)
        return IRQ_HANDLED;
 }
 
-
 /* Setup RSS indirection table.
  * This maps from the hash value of the packet to RXQ
  */
index af2b8c59a903e7cea3011a3a2be29658542d4d4e..8a400a0595eb8c30ec051aa1e06b3f13e6478eea 100644 (file)
@@ -1323,7 +1323,6 @@ static inline struct efx_rx_buffer *efx_rx_buffer(struct efx_rx_queue *rx_queue,
        return &rx_queue->buffer[index];
 }
 
-
 /**
  * EFX_MAX_FRAME_LEN - calculate maximum frame length
  *
index 79226b19e3c40d072bf929046bd8b0b219a9ab1a..32d969e857f7befc79bf4a6f18cb153c350b374b 100644 (file)
@@ -530,4 +530,3 @@ void efx_nic_fix_nodesc_drop_stat(struct efx_nic *efx, u64 *rx_nodesc_drops)
        efx->rx_nodesc_drops_prev_state = !!(efx->net_dev->flags & IFF_UP);
        *rx_nodesc_drops -= efx->rx_nodesc_drops_while_down;
 }
-