]> err.no Git - linux-2.6/commitdiff
[netdrvr] sfc: Removed bogus 'fall-thru' comments
authorBen Hutchings <bhutchings@solarflare.com>
Wed, 7 May 2008 11:56:57 +0000 (12:56 +0100)
committerJeff Garzik <jgarzik@redhat.com>
Tue, 13 May 2008 05:31:41 +0000 (01:31 -0400)
Fall-through is expected outside a switch statement.

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/net/sfc/falcon.c
drivers/net/sfc/rx.c

index 46db549ce58059c4a8cf03ba67f4a579c024fe3d..9cac344d19d0e550a854530b2e23a9453313f4f5 100644 (file)
@@ -2468,14 +2468,12 @@ int falcon_probe_nic(struct efx_nic *efx)
  fail5:
        falcon_free_buffer(efx, &efx->irq_status);
  fail4:
-       /* fall-thru */
  fail3:
        if (nic_data->pci_dev2) {
                pci_dev_put(nic_data->pci_dev2);
                nic_data->pci_dev2 = NULL;
        }
  fail2:
-       /* fall-thru */
  fail1:
        kfree(efx->nic_data);
        return rc;
index 551299b462ae9446ad3b44491b693f652513b589..9fd198442e8d756c28dd4078ae5bf1dc2d63d9c5 100644 (file)
@@ -736,7 +736,6 @@ void __efx_rx_packet(struct efx_channel *channel,
        /* Update allocation strategy method */
        channel->rx_alloc_level += RX_ALLOC_FACTOR_SKB;
 
-       /* fall-thru */
 done:
        efx->net_dev->last_rx = jiffies;
 }