]> git.karo-electronics.de Git - linux-beck.git/commit
IB/hfi1: Don't zero out qp->s_ack_queue in rvt_reset_qp
authorAshutosh Dixit <ashutosh.dixit@intel.com>
Sat, 18 Jun 2016 02:17:54 +0000 (19:17 -0700)
committerDoug Ledford <dledford@redhat.com>
Thu, 23 Jun 2016 14:16:15 +0000 (10:16 -0400)
commit8ae84f7c56044ee17ef6b700cb34d11ad9428a2e
treef5f7f0e6988726d2977b4f5ad5992bf58734510e
parent2aee309d3e01447c55fdf89cef05a0e2be372655
IB/hfi1: Don't zero out qp->s_ack_queue in rvt_reset_qp

Since rvt_reset_qp already zero's out qp->s_ack_queue head and tail
pointers, there is no need to zero out qp->s_ack_queue itself.

Reviewed-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Reviewed-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Signed-off-by: Ashutosh Dixit <ashutosh.dixit@intel.com>
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/sw/rdmavt/qp.c