commit | 8584394bdf9bd4d18cd7fc43e5221ff71539cf4a | [log] [tgz] |
---|---|---|
author | Geliang Tang <geliangtang@163.com> | Tue Mar 01 23:35:31 2016 +0800 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Thu Mar 10 19:44:34 2016 -0800 |
tree | 19036d6ada7e33095f0d9a2e749fb3935f67de7c | |
parent | 7bf777fbfe7926398063bf669c672e52b28b69d2 [diff] |
staging: rtl8723au: core: rtw_recv: use list_first_entry_or_null() Use list_first_entry_or_null() instead of list_empty() + container_of() to simplify the code. Signed-off-by: Geliang Tang <geliangtang@163.com> Acked-by: Jes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>