sock: use hlist_entry_safe
authorGeliang Tang <geliangtang@gmail.com>
Fri, 20 Jan 2017 14:27:04 +0000 (22:27 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 20 Jan 2017 16:38:45 +0000 (11:38 -0500)
commit6c59ebd356ff2ca64cdf1f61c5fe17f6fa8fc045
tree073b9b8d27b75b677ec94bd79a40eb0d695879d0
parentc10aa71b9d823603306a3bcd19f6c584bdf14ef7
sock: use hlist_entry_safe

Use hlist_entry_safe() instead of open-coding it.

Signed-off-by: Geliang Tang <geliangtang@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/sock.h