bnxt: delete some unreachable code
We return on the previous line so this "return 0;" statement should just be deleted. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
a8938773c1
commit
42ca728b82
|
@ -148,7 +148,6 @@ static int bnxt_vf_rep_setup_tc_block(struct net_device *dev,
|
|||
return tcf_block_cb_register(f->block,
|
||||
bnxt_vf_rep_setup_tc_block_cb,
|
||||
vf_rep, vf_rep);
|
||||
return 0;
|
||||
case TC_BLOCK_UNBIND:
|
||||
tcf_block_cb_unregister(f->block,
|
||||
bnxt_vf_rep_setup_tc_block_cb, vf_rep);
|
||||
|
|
Loading…
Reference in New Issue