From: Roland Dreier Date: Fri, 25 Jan 2008 22:15:24 +0000 (-0800) Subject: IPoIB/cm: Factor out ipoib_cm_free_rx_reap_list() X-Git-Tag: v2.6.25-rc1~1234^2~76 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=efcd99717f76c6d19dd81203c60fe198480de522;p=pandora-kernel.git IPoIB/cm: Factor out ipoib_cm_free_rx_reap_list() Factor out the code for going through the rx_reap list of struct ipoib_cm_rx and freeing each one. This consolidates the code duplicated between ipoib_cm_dev_stop() and ipoib_cm_rx_reap() and reduces the risk of error when adding additional accounting. Signed-off-by: Roland Dreier --- Reading git-diff-tree failed