diff options
author | Ben Hutchings <bhutchings@solarflare.com> | 2008-05-07 07:56:57 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2008-05-13 01:31:41 -0400 |
commit | ba911a4d16fb2dd562f5595731fc96bc8c4929d7 (patch) | |
tree | f4c55c399b2073cdbfbb8665653dafecd32b33b8 /drivers/net | |
parent | 75f2d3eac93277fa022b2fbe51257e856575e757 (diff) |
[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/net')
-rw-r--r-- | drivers/net/sfc/falcon.c | 2 | ||||
-rw-r--r-- | drivers/net/sfc/rx.c | 1 |
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) | |||
2468 | fail5: | 2468 | fail5: |
2469 | falcon_free_buffer(efx, &efx->irq_status); | 2469 | falcon_free_buffer(efx, &efx->irq_status); |
2470 | fail4: | 2470 | fail4: |
2471 | /* fall-thru */ | ||
2472 | fail3: | 2471 | fail3: |
2473 | if (nic_data->pci_dev2) { | 2472 | if (nic_data->pci_dev2) { |
2474 | pci_dev_put(nic_data->pci_dev2); | 2473 | pci_dev_put(nic_data->pci_dev2); |
2475 | nic_data->pci_dev2 = NULL; | 2474 | nic_data->pci_dev2 = NULL; |
2476 | } | 2475 | } |
2477 | fail2: | 2476 | fail2: |
2478 | /* fall-thru */ | ||
2479 | fail1: | 2477 | fail1: |
2480 | kfree(efx->nic_data); | 2478 | kfree(efx->nic_data); |
2481 | return rc; | 2479 | 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, | |||
736 | /* Update allocation strategy method */ | 736 | /* Update allocation strategy method */ |
737 | channel->rx_alloc_level += RX_ALLOC_FACTOR_SKB; | 737 | channel->rx_alloc_level += RX_ALLOC_FACTOR_SKB; |
738 | 738 | ||
739 | /* fall-thru */ | ||
740 | done: | 739 | done: |
741 | efx->net_dev->last_rx = jiffies; | 740 | efx->net_dev->last_rx = jiffies; |
742 | } | 741 | } |