RDMA/qib: use rb_entry()
authorGeliang Tang <geliangtang@gmail.com>
Tue, 20 Dec 2016 14:02:12 +0000 (22:02 +0800)
committerDoug Ledford <dledford@redhat.com>
Thu, 12 Jan 2017 16:38:41 +0000 (11:38 -0500)
commitbb75f33cf0f8f332dd69e9c1966a8eb0769ee38b
tree03b5ae292e54d25268abd5ff24b0d5df92ec2e3b
parente8f4eb3bfaf4ddb8765cf11c24cadfb1f20e714a
RDMA/qib: use rb_entry()

To make the code clearer, use rb_entry() instead of container_of() to
deal with rbtree.

Signed-off-by: Geliang Tang <geliangtang@gmail.com>
Reviewed-by: Leon Romanovsky <leonro@mellanox.com>
Reviewed-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Acked-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/qib/qib_user_sdma.c