]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/bnxt_re: remove redundant initialization of rc to zero
authorColin Ian King <colin.king@canonical.com>
Fri, 17 Feb 2017 15:35:22 +0000 (15:35 +0000)
committerDoug Ledford <dledford@redhat.com>
Tue, 25 Apr 2017 17:36:59 +0000 (13:36 -0400)
commitb5fcad1c9289566989f4a822d656552c7c509381
tree1577d5aec9d1bde1efc960187fad2921b791cc83
parentbe9ac9a86453d3e2e3187f7b4be365d3600b2db1
RDMA/bnxt_re: remove redundant initialization of rc to zero

rc is initialized to zero but is then updated by calls to
bnxt_qplib_free_fast_reg_page_list and/or bnxt_qpliob_free_mrw
so the initialization is redundant and can be removed.

Detected with CoverityScan, CID#1408448 ("Unused Value")

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Reviewed-by: Laurence Oberman <loberman@redhat.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/bnxt_re/ib_verbs.c