Skip to content

Commit

Permalink
cxgb4: remove unneeded semicolon for switch block
Browse files Browse the repository at this point in the history
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: 4846d53 ("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>
  • Loading branch information
Rahul Lakkireddy authored and David S. Miller committed Nov 20, 2019
1 parent b8fc717 commit 272630f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/ethernet/chelsio/cxgb4/sge.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 272630f

Please sign in to comment.