diff options
author | Rahul Lakkireddy <rahul.lakkireddy@chelsio.com> | 2019-11-19 13:00:56 +0530 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-11-19 16:39:51 -0800 |
commit | 272630feb4c0d274cc4f018c5dcc24bc94f685c7 (patch) | |
tree | 8aa0e95d537bbc5930cce6e45b6c6be5aa8ae3ed /drivers/net/ethernet | |
parent | b8fc7177d8aef1cc9c83b98e29097861adc84b49 (diff) | |
download | linux-272630feb4c0d274cc4f018c5dcc24bc94f685c7.tar.bz2 |
cxgb4: remove unneeded semicolon for switch block
Semicolon is not required at the end of switch block. So, remove it.
Addresses coccinelle warning:
drivers/net/ethernet/chelsio/cxgb4/sge.c:2260:2-3: Unneeded semicolon
Fixes: 4846d5330daf ("cxgb4: add Tx and Rx path for ETHOFLD traffic")
Reported-by: kbuild test robot <lkp@intel.com>
Signed-off-by: Rahul Lakkireddy <rahul.lakkireddy@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet')
-rw-r--r-- | drivers/net/ethernet/chelsio/cxgb4/sge.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/chelsio/cxgb4/sge.c b/drivers/net/ethernet/chelsio/cxgb4/sge.c index 09059adc3067..a0400b9a11e9 100644 --- a/drivers/net/ethernet/chelsio/cxgb4/sge.c +++ b/drivers/net/ethernet/chelsio/cxgb4/sge.c @@ -2283,7 +2283,7 @@ static void ethofld_xmit(struct net_device *dev, struct sge_eosw_txq *eosw_txq) case CXGB4_EO_STATE_CLOSED: default: return; - }; + } while (pktcount--) { skb = eosw_txq_peek(eosw_txq); |