RDMA/nes: Cleanup cqp_request list usage
authorFaisal Latif <faisal.latif@intel.com>
Sat, 22 Nov 2008 02:50:38 +0000 (20:50 -0600)
committerRoland Dreier <rolandd@cisco.com>
Fri, 5 Dec 2008 18:59:53 +0000 (10:59 -0800)
commitc5d321e5c924384cf5b35f6288d69e9237490565
tree46ac4732ce7cae568239ba0ae2c08a599f9e1179
parent061e41fdb5047b1fb161e89664057835935ca1d2
RDMA/nes: Cleanup cqp_request list usage

Use nes_free_cqp_request() instead of open coding.  Change some
continue to break in nes_cm_timer_tick, because send_entry used to be
a list processed in a loop (so continue went to the next item).  Now
it is a single item, so using break is correct.

Signed-off-by: Faisal Latif <faisal.latif@intel.com>
Signed-off-by: Chien Tung <chien.tin.tung@intel.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/nes/nes_cm.c
drivers/infiniband/hw/nes/nes_verbs.c