staging: rtl8723bs: remove unnecessary type cast of rtw_netdev_priv() result
authorIvan Safonov <insafonov@gmail.com>
Sun, 11 Oct 2020 15:47:16 +0000 (18:47 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 26 Oct 2020 05:53:09 +0000 (06:53 +0100)
commit42a18f09bcb900997f5f67ac8fe29ba4bc6e79e3
tree61623ace8100619d9c48c82d542f64bacb2fd45b
parentc854f01429631c9e7ef51d90f2a8e2bdc195163b
staging: rtl8723bs: remove unnecessary type cast of rtw_netdev_priv() result

The type cast
padapter = (struct adapter *)rtw_netdev_priv(dev);
do nothing because type of rtw_netdev_priv() result
is (struct adapter *).

Signed-off-by: Ivan Safonov <insafonov@gmail.com>
Link: https://lore.kernel.org/r/20201011154715.13445-1-insafonov@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/core/rtw_wlan_util.c
drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c
drivers/staging/rtl8723bs/os_dep/ioctl_linux.c
drivers/staging/rtl8723bs/os_dep/os_intfs.c
drivers/staging/rtl8723bs/os_dep/xmit_linux.c