libceph: use list_for_each_entry_safe
authorGeliang Tang <geliangtang@163.com>
Fri, 18 Dec 2015 15:33:30 +0000 (23:33 +0800)
committerIlya Dryomov <idryomov@gmail.com>
Thu, 21 Jan 2016 18:36:08 +0000 (19:36 +0100)
commit10bcee149f62e7c5122f79aefc30d610b413280b
treec90919e73cc145128f8640730a603b4ff1f14533
parent99c88e6900fb05d267ae9f6d5e15dc7192ba6f8d
libceph: use list_for_each_entry_safe

Use list_for_each_entry_safe() instead of list_for_each_safe() to
simplify the code.

Signed-off-by: Geliang Tang <geliangtang@163.com>
[idryomov@gmail.com: nuke call to list_splice_init() as well]
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
net/ceph/messenger.c