staging: rtl8188eu: remove padapter from struct mlme_ext_priv
authorMartin Kaiser <martin@kaiser.cx>
Wed, 5 May 2021 20:26:22 +0000 (22:26 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 10 May 2021 09:19:41 +0000 (11:19 +0200)
commit706321a53857f99f00fce0bc0ed1fa2102896c46
tree92b8352108805b213d7a3e02074215a3cbdf97c6
parent24aa9caccbe13fde07b92f03e6fc097a8e3fbd34
staging: rtl8188eu: remove padapter from struct mlme_ext_priv

struct mlme_ext_priv is an element of struct adapter. Use container_of
to get a pointer to the enclosing struct.

Signed-off-by: Martin Kaiser <martin@kaiser.cx>
Link: https://lore.kernel.org/r/20210505202622.11087-6-martin@kaiser.cx
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/core/rtw_mlme_ext.c
drivers/staging/rtl8188eu/include/rtw_mlme_ext.h