commit | 818ff7b28b7777ac71d13215bc7a332e126da268 | [log] [tgz] |
---|---|---|
author | Geliang Tang <geliangtang@163.com> | Mon Feb 01 22:47:03 2016 +0800 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sun Feb 07 19:53:04 2016 -0800 |
tree | cd16f34705947eb6775369996e83d15fcc66944a | |
parent | 97e2ba90fc89f375e88ad5d825c149fb82d8207b [diff] |
staging: rtl8712: use list_first_entry_or_null() Use list_first_entry_or_null() instead of list_empty() + LIST_CONTAINOR() to simplify the code. Signed-off-by: Geliang Tang <geliangtang@163.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>