IPoIB/cm: Factor out ipoib_cm_free_rx_ring()
commit1efb61444ca3a598dfafb7a6c573c5d5d42d3432
authorRoland Dreier <rolandd@cisco.com>
Fri, 25 Jan 2008 22:15:24 +0000 (25 14:15 -0800)
committerRoland Dreier <rolandd@cisco.com>
Fri, 25 Jan 2008 22:15:24 +0000 (25 14:15 -0800)
treebcc6fde51f22f89f9dc86f7555956ef245996896
parent2337f80941ac22f747ce6fd2c7a79e91d911a3ce
IPoIB/cm: Factor out ipoib_cm_free_rx_ring()

Factor out the code to unmap/free skbs and free the receive ring in
ipoib_cm_dev_cleanup() into a new function ipoib_cm_free_rx_ring().
This function will be called from a couple of other places when
support for devices that don't implement SRQs is added.

Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/ulp/ipoib/ipoib_cm.c