commit | 3704eb6f6fd09023e2c94e8ead687b908ab02135 | [log] [tgz] |
---|---|---|
author | Geliang Tang <geliangtang@gmail.com> | Fri Jan 20 22:36:57 2017 +0800 |
committer | David S. Miller <davem@davemloft.net> | Sun Jan 22 16:46:13 2017 -0500 |
tree | 2f897bb55bca6266a7a7bae11ad8b154aa8b22e3 | |
parent | 530cef21d98930c4d10f188325e00330455d216d [diff] |
net/mlx4: 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> Signed-off-by: David S. Miller <davem@davemloft.net>