]> git.baikalelectronics.ru Git - kernel.git/commit
i40iw: Remove variable flush_code and check to set qp->sq_flush
authorHenry Orosco <henry.orosco@intel.com>
Thu, 10 Nov 2016 04:20:31 +0000 (22:20 -0600)
committerDoug Ledford <dledford@redhat.com>
Mon, 5 Dec 2016 21:09:38 +0000 (16:09 -0500)
commite7a585022991f5583a6585b11d2e13b8ce7fc681
tree0c777de3cecd2b61b1881534e3daa634e1ec93d9
parent13219b8c8650df57530fbbbb5fd561c465ea6b60
i40iw: Remove variable flush_code and check to set qp->sq_flush

The flush_code variable in i40iw_bld_terminate_hdr() is obsolete and
the check to set qp->sq_flush is unreachable. Currently flush code is
populated in setup_term_hdr() and both SQ and RQ are flushed always
as part of the tear down flow.

Signed-off-by: Shiraz Saleem <shiraz.saleem@intel.com>
Signed-off-by: Henry Orosco <henry.orosco@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/i40iw/i40iw_ctrl.c