commit | 2cb5780a41714ef91a47b8e33eb7f59ac30c6346 | [log] [tgz] |
---|---|---|
author | Geliang Tang <geliangtang@163.com> | Tue Mar 01 23:35:32 2016 +0800 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Thu Mar 10 19:44:34 2016 -0800 |
tree | c2068a42122956745d1efdd3e7d40886a09d851d | |
parent | 8584394bdf9bd4d18cd7fc43e5221ff71539cf4a [diff] |
staging: rtl8723au: core: rtw_xmit: 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>