IB/mlx4: Use list_for_each_entry_safe
Simplify the code in search_relocate_mgid0_group with by using list_for_each_entry_safe(). Signed-off-by: NGeliang Tang <geliangtang@163.com> Reviewed-by: NLeon Romanovsky <leonro@mellanox.com> Signed-off-by: NDoug Ledford <dledford@redhat.com>
Showing
想要评论请 注册 或 登录