RDMA/cma: Eliminate unnecessary remove_list
authorKrishna Kumar <krkumar2@in.ibm.com>
Fri, 29 Sep 2006 19:03:35 +0000 (12:03 -0700)
committerRoland Dreier <rolandd@cisco.com>
Mon, 2 Oct 2006 21:52:16 +0000 (14:52 -0700)
commit94de178ac636e9d6f89b11cb3dd400b777942ac9
tree3a049741600aa5c1387ca732606b0198d815547d
parent8f0472d331619d5d74927978d0dde5b4935e41a5
RDMA/cma: Eliminate unnecessary remove_list

Eliminate remove_list by using list_del_init() instead during device
removal handling.

Signed-off-by: Krishna Kumar <krkumar2@in.ibm.com>
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/core/cma.c