]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
staging: rtl8723au: core: rtw_recv: use list_first_entry()
authorGeliang Tang <geliangtang@163.com>
Tue, 1 Mar 2016 15:35:33 +0000 (23:35 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 11 Mar 2016 03:44:34 +0000 (19:44 -0800)
commit4b279420ac3bdde45714d107a3943df58d8eea07
tree7e23359d7115659ac732a1d9031153b410c09365
parent2cb5780a41714ef91a47b8e33eb7f59ac30c6346
staging: rtl8723au: core: rtw_recv: use list_first_entry()

Use list_first_entry() instead of 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>
drivers/staging/rtl8723au/core/rtw_recv.c