]> git.baikalelectronics.ru Git - kernel.git/commit
staging: rtl8712: use container_of() instead of LIST_CONTAINOR()
authorGeliang Tang <geliangtang@163.com>
Tue, 5 Apr 2016 01:58:04 +0000 (09:58 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 30 Apr 2016 00:53:47 +0000 (17:53 -0700)
commit1640aece76304598b30d0bd4c7305be940963065
treea229a1ca98e0a907cf8c428b319eae2b5304583d
parent5e0f9132a230a425c555e6d9d749830f958f9f9c
staging: rtl8712: use container_of() instead of LIST_CONTAINOR()

This patch drops the local definition of LIST_CONTAINOR(), and uses
container_of() instead of it.

Signed-off-by: Geliang Tang <geliangtang@163.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8712/osdep_service.h
drivers/staging/rtl8712/rtl8712_recv.c
drivers/staging/rtl8712/rtl8712_xmit.c
drivers/staging/rtl8712/rtl871x_ioctl_linux.c
drivers/staging/rtl8712/rtl871x_mlme.c
drivers/staging/rtl8712/rtl871x_recv.c
drivers/staging/rtl8712/rtl871x_sta_mgt.c
drivers/staging/rtl8712/rtl871x_xmit.c