diff options
author | Geliang Tang <geliangtang@gmail.com> | 2016-12-20 22:02:14 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-12-20 14:22:48 -0500 |
commit | f7fb138389aac97fe165c9b8fe4dcfeb97a78d06 (patch) | |
tree | c895039794c6871ee6c1de7b9bbb230d12b6be6a /drivers/usb/dwc2 | |
parent | ae99b639ce79f73fe4d1c44da8aa2d96b0f13253 (diff) |
net/mlx5: 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>
Acked-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/usb/dwc2')