list: introduce list_first_entry_or_null
authorJiri Pirko <jiri@resnulli.us>
Wed, 29 May 2013 05:02:56 +0000 (05:02 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 1 Jun 2013 00:31:52 +0000 (17:31 -0700)
commit6d7581e62f8be462440d7b22c6361f7c9fa4902b
tree0f85824301b8a252ffe5a4e88288191c46cd98b2
parente4e8536f65b51ce91c30588b0925872bdfc60d03
list: introduce list_first_entry_or_null

non-rcu variant of list_first_or_null_rcu

Signed-off-by: Jiri Pirko <jiri@resnulli.us>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/list.h