]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commitdiff
[PATCH] IB/sa_query: avoid unnecessary list scan
authorMichael S. Tsirkin <mst@mellanox.co.il>
Thu, 1 Sep 2005 16:19:44 +0000 (09:19 -0700)
committerRoland Dreier <rolandd@cisco.com>
Wed, 7 Sep 2005 16:48:52 +0000 (09:48 -0700)
Using ib_get_client_data in SA event handler performs a list scan.
It's better to use container_of to get the sa device directly.

Signed-off-by: Michael S. Tsirkin <mst@mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>

No differences found