Skip to content

Commit

Permalink
[netdrvr] sfc: Removed bogus 'fall-thru' comments
Browse files Browse the repository at this point in the history
Fall-through is expected outside a switch statement.

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
  • Loading branch information
Ben Hutchings authored and Jeff Garzik committed May 13, 2008
1 parent 75f2d3e commit ba911a4
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
2 changes: 0 additions & 2 deletions drivers/net/sfc/falcon.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
1 change: 0 additions & 1 deletion drivers/net/sfc/rx.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit ba911a4

Please sign in to comment.