summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorBen Hutchings <bhutchings@solarflare.com>2008-05-07 13:56:57 +0200
committerJeff Garzik <jgarzik@redhat.com>2008-05-13 07:31:41 +0200
commitba911a4d16fb2dd562f5595731fc96bc8c4929d7 (patch)
treef4c55c399b2073cdbfbb8665653dafecd32b33b8 /drivers
parent[netdrvr] sfc: Add phy_flash_cfg module parameter and implementation (diff)
downloadlinux-ba911a4d16fb2dd562f5595731fc96bc8c4929d7.tar.xz
linux-ba911a4d16fb2dd562f5595731fc96bc8c4929d7.zip
[netdrvr] sfc: Removed bogus 'fall-thru' comments
Fall-through is expected outside a switch statement. Signed-off-by: Ben Hutchings <bhutchings@solarflare.com> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/sfc/falcon.c2
-rw-r--r--drivers/net/sfc/rx.c1
2 files changed, 0 insertions, 3 deletions
diff --git a/drivers/net/sfc/falcon.c b/drivers/net/sfc/falcon.c
index 46db549ce580..9cac344d19d0 100644
--- a/drivers/net/sfc/falcon.c
+++ b/drivers/net/sfc/falcon.c
@@ -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;
diff --git a/drivers/net/sfc/rx.c b/drivers/net/sfc/rx.c
index 551299b462ae..9fd198442e8d 100644
--- a/drivers/net/sfc/rx.c
+++ b/drivers/net/sfc/rx.c
@@ -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;
}