staging: rtl8723bs: remove sdio_drv_priv structure
authorBryan Brattlof <hello@bryanbrattlof.com>
Wed, 14 Apr 2021 17:39:03 +0000 (17:39 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 15 Apr 2021 07:26:00 +0000 (09:26 +0200)
commit027ffa10b80be722c284067f7eee431ced1db208
treebd08074481aa615c57a8f3bf1c34751b97b76b3b
parent467d98420936009a10ce7f95985dece7150acd36
staging: rtl8723bs: remove sdio_drv_priv structure

The sdio_drv_priv structure is a small wrapper around sdio_driver in
linux/mmc/sdio_func.h with an added drv_registered integer.

drv_registered is never used anywhere in the driver and only assigned to
during the sdio registering and unregistering process. We can safely
remove sdio_drv_priv and use the sdio_driver structure directly.

Signed-off-by: Bryan Brattlof <hello@bryanbrattlof.com>
Link: https://lore.kernel.org/r/20210414173751.317762-1-hello@bryanbrattlof.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/os_dep/sdio_intf.c