commit | bb75f33cf0f8f332dd69e9c1966a8eb0769ee38b | [log] [tgz] |
---|---|---|
author | Geliang Tang <geliangtang@gmail.com> | Tue Dec 20 22:02:12 2016 +0800 |
committer | Doug Ledford <dledford@redhat.com> | Thu Jan 12 11:38:41 2017 -0500 |
tree | 03b5ae292e54d25268abd5ff24b0d5df92ec2e3b | |
parent | e8f4eb3bfaf4ddb8765cf11c24cadfb1f20e714a [diff] |
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>