From: Ishai Rabinovitz Date: Sun, 18 Jun 2006 03:37:38 +0000 (-0700) Subject: IB/srp: Factor out common request reset code X-Git-Tag: v2.6.18-rc1~1110^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=526b4caa0a48382115fa9d8f7d8caf68dbcaa2bf;p=pandora-kernel.git IB/srp: Factor out common request reset code Misc cleanups in ib_srp: 1) I think that it is more efficient to move the req entries from req_list to free_list in srp_reconnect_target (rather than rebuild the free_list). (In any case this code is shorter). 2) This allows us to reuse code in srp_reset_device and srp_reconnect_target and call a new function srp_reset_req. Signed-off-by: Ishai Rabinovitz Signed-off-by: Roland Dreier --- Reading git-diff-tree failed