staging: rtl8723bs: Convert LIST_CONTAINOR to use kernel container_of
authorJoe Perches <joe@perches.com>
Sat, 9 Sep 2017 20:14:51 +0000 (13:14 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 17 Sep 2017 14:35:26 +0000 (16:35 +0200)
commit67af9094043dd064ec0c2cb0d84173cd9129cdc3
tree2b308eb58f749b74b6347a339a7d882641bd168e
parent4379c36509a3eda9e72e1649ce12928227915dc0
staging: rtl8723bs: Convert LIST_CONTAINOR to use kernel container_of

These are similar macros so use the normal kernel one.

As well, there are odd games being played with casting a plist to
a union recv_frame by using LIST_CONTAINOR.  Just use a direct cast
to union recv_frame instead.

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/core/rtw_recv.c
drivers/staging/rtl8723bs/core/rtw_sta_mgt.c
drivers/staging/rtl8723bs/include/osdep_service_linux.h