NFC: llcp: Use list_for_each_entry in nfc_llcp_find_local()
authorAxel Lin <axel.lin@ingics.com>
Wed, 26 Feb 2014 02:26:45 +0000 (10:26 +0800)
committerSamuel Ortiz <sameo@linux.intel.com>
Fri, 14 Mar 2014 19:19:08 +0000 (20:19 +0100)
commit29e27dd86b5c4f8e6feb62d7b6a8491539ff1ef1
tree14655abbfc44f2b59270bbd41a3e72239f9e269f
parent3143a4ca610d6a3de0d8814ee6f5f7da6fc7fbfa
NFC: llcp: Use list_for_each_entry in nfc_llcp_find_local()

nfc_llcp_find_local() does not modify any list entry while iterating the list.
So use list_for_each_entry instead of list_for_each_entry_safe.

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