NFC: llcp: Use list_for_each_entry in llcp_accept_poll
authorAxel Lin <axel.lin@ingics.com>
Thu, 6 Nov 2014 10:20:41 +0000 (18:20 +0800)
committerSamuel Ortiz <sameo@linux.intel.com>
Fri, 28 Nov 2014 12:41:44 +0000 (13:41 +0100)
commit413df10bbf09e8ab1e2659126af849b4c9f3a3e3
treec84a0f78205b7c1430d5e4403e4ec077ea9336e7
parentdb083bcbca77c0ebc1b13d5707fcaffe6711493d
NFC: llcp: Use list_for_each_entry in llcp_accept_poll

list_for_each_entry_safe() is necessary if list objects are deleted from
the list while traversing it. Not the case here, so we can use the base
list_for_each_entry variant.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
net/nfc/llcp_sock.c