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)
commit78e945aace5b9aaf19404799cd29b4d155806053
tree0c777de3cecd2b61b1881534e3daa634e1ec93d9
parentdfd9c43b3ce97e1b66a6dc1d9dcc95db9a27cc4b
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