From: Jes Sorensen Date: Sat, 26 Apr 2014 16:55:28 +0000 (+0200) Subject: staging: rtl8723au: Remove unused struct rtw_adapter * from struct io_priv X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=1dbe119b82b7902d0626347a455319f9004166e4;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git staging: rtl8723au: Remove unused struct rtw_adapter * from struct io_priv Signed-off-by: Jes Sorensen Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rtl8723au/hal/usb_ops_linux.c b/drivers/staging/rtl8723au/hal/usb_ops_linux.c index a785bb5c2183..1a67255887af 100644 --- a/drivers/staging/rtl8723au/hal/usb_ops_linux.c +++ b/drivers/staging/rtl8723au/hal/usb_ops_linux.c @@ -821,7 +821,6 @@ void rtl8723au_set_intf_ops(struct rtw_adapter *padapter) struct intf_hdl *pintf = &piopriv->intf; struct _io_ops *pops = &pintf->io_ops; - piopriv->padapter = padapter; pintf->padapter = padapter; pintf->pintf_dev = adapter_to_dvobj(padapter); diff --git a/drivers/staging/rtl8723au/include/rtw_io.h b/drivers/staging/rtl8723au/include/rtw_io.h index f11557cbdfd8..f0f97b447d9e 100644 --- a/drivers/staging/rtl8723au/include/rtw_io.h +++ b/drivers/staging/rtl8723au/include/rtw_io.h @@ -263,11 +263,7 @@ Below is the data structure used by _io_handler */ struct io_priv{ - - struct rtw_adapter *padapter; - struct intf_hdl intf; - }; uint register_intf_hdl(u8 *dev, struct intf_hdl *pintfhdl);