]> git.karo-electronics.de Git - linux-beck.git/commit
qedr: Use list_move_tail instead of list_del/list_add_tail
authorWei Yongjun <weiyongjun1@huawei.com>
Sat, 29 Oct 2016 16:19:53 +0000 (16:19 +0000)
committerDoug Ledford <dledford@redhat.com>
Wed, 14 Dec 2016 16:18:17 +0000 (11:18 -0500)
commitaafec388a1b7fc533a81c03b4a81c6e5f3e5688f
treed54569a2ba6bb3e6839524c38487694ab9dc8ed7
parent181d80151f9c6ff3c765c1bd2e4e200ada23c2f3
qedr: Use list_move_tail instead of list_del/list_add_tail

Using list_move_tail() instead of list_del() + list_add_tail().

Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Reviewed-by: Leon Romanovsky <leonro@mellanox.com>
Acked-by: Ram Amrani <Ram.Amrani@cavium.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/qedr/verbs.c