Commit 42ca728b authored by Dan Carpenter's avatar Dan Carpenter Committed by David S. Miller

bnxt: delete some unreachable code

We return on the previous line so this "return 0;" statement should just
be deleted.
Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent a8938773
...@@ -148,7 +148,6 @@ static int bnxt_vf_rep_setup_tc_block(struct net_device *dev, ...@@ -148,7 +148,6 @@ static int bnxt_vf_rep_setup_tc_block(struct net_device *dev,
return tcf_block_cb_register(f->block, return tcf_block_cb_register(f->block,
bnxt_vf_rep_setup_tc_block_cb, bnxt_vf_rep_setup_tc_block_cb,
vf_rep, vf_rep); vf_rep, vf_rep);
return 0;
case TC_BLOCK_UNBIND: case TC_BLOCK_UNBIND:
tcf_block_cb_unregister(f->block, tcf_block_cb_unregister(f->block,
bnxt_vf_rep_setup_tc_block_cb, vf_rep); bnxt_vf_rep_setup_tc_block_cb, vf_rep);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment