diff options
| author | Jeff Kirsher <[email protected]> | 2020-06-04 03:07:26 +0000 |
|---|---|---|
| committer | Tony Nguyen <[email protected]> | 2020-07-01 20:47:43 +0000 |
| commit | 5463fce643e8d041f54378b28b35940fd5e5a5a4 (patch) | |
| tree | 996ef89423d22b1e24938313f77e5f823a33f97d /drivers/net/ethernet/intel/e1000/e1000_main.c | |
| parent | Merge branch 'cxgb4-add-mirror-action-support-for-TC-MATCHALL' (diff) | |
| download | kernel-5463fce643e8d041f54378b28b35940fd5e5a5a4.tar.gz kernel-5463fce643e8d041f54378b28b35940fd5e5a5a4.zip | |
ethernet/intel: Convert fallthrough code comments
Convert all the remaining 'fall through" code comments to the newer
'fallthrough;' keyword.
Suggested-by: Joe Perches <[email protected]>
Signed-off-by: Jeff Kirsher <[email protected]>
Tested-by: Aaron Brown <[email protected]>
Signed-off-by: Tony Nguyen <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/e1000/e1000_main.c')
| -rw-r--r-- | drivers/net/ethernet/intel/e1000/e1000_main.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/ethernet/intel/e1000/e1000_main.c b/drivers/net/ethernet/intel/e1000/e1000_main.c index 266899c0c933..1e6ec081fd9d 100644 --- a/drivers/net/ethernet/intel/e1000/e1000_main.c +++ b/drivers/net/ethernet/intel/e1000/e1000_main.c @@ -1138,7 +1138,7 @@ static int e1000_probe(struct pci_dev *pdev, const struct pci_device_id *ent) EEPROM_INIT_CONTROL3_PORT_B, 1, &eeprom_data); break; } - /* Fall Through */ + fallthrough; default: e1000_read_eeprom(hw, EEPROM_INIT_CONTROL3_PORT_A, 1, &eeprom_data); @@ -3154,7 +3154,6 @@ static netdev_tx_t e1000_xmit_frame(struct sk_buff *skb, if ((unsigned long)(skb_tail_pointer(skb) - 1) & 4) break; - /* fall through */ pull_size = min((unsigned int)4, skb->data_len); if (!__pskb_pull_tail(skb, pull_size)) { e_err(drv, "__pskb_pull_tail " |
