diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2017-11-06 14:43:01 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-11-08 13:30:37 +0900 |
commit | 42ca728b829b8fee8ac85adb79eaffd36f0b4e06 (patch) | |
tree | 981cf7d7ce6bcaf01674dc21947cde0ec157727c | |
parent | a8938773c1f8a10876e4be0d82f628be196e39aa (diff) | |
download | linux-42ca728b829b8fee8ac85adb79eaffd36f0b4e06.tar.bz2 |
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>
-rw-r--r-- | drivers/net/ethernet/broadcom/bnxt/bnxt_vfr.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ethernet/broadcom/bnxt/bnxt_vfr.c b/drivers/net/ethernet/broadcom/bnxt/bnxt_vfr.c index b6aa7db99705..69186d188c43 100644 --- a/drivers/net/ethernet/broadcom/bnxt/bnxt_vfr.c +++ b/drivers/net/ethernet/broadcom/bnxt/bnxt_vfr.c @@ -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); |