staging: rtl8188eu: remove nic_hdl from struct mlme_priv
authorMartin Kaiser <martin@kaiser.cx>
Thu, 6 May 2021 12:14:10 +0000 (14:14 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 10 May 2021 12:34:44 +0000 (14:34 +0200)
commitedee771a4533002575b74ef18f958c896f3804dd
tree07436dac4638fa28ac6e4b9d6bf4e513a3001eba
parent706321a53857f99f00fce0bc0ed1fa2102896c46
staging: rtl8188eu: remove nic_hdl from struct mlme_priv

struct mlme_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/20210506121410.17613-1-martin@kaiser.cx
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/core/rtw_mlme.c
drivers/staging/rtl8188eu/include/rtw_mlme.h