From 1dbe119b82b7902d0626347a455319f9004166e4 Mon Sep 17 00:00:00 2001 From: Jes Sorensen Date: Sat, 26 Apr 2014 18:55:28 +0200 Subject: [PATCH] staging: rtl8723au: Remove unused struct rtw_adapter * from struct io_priv Signed-off-by: Jes Sorensen Signed-off-by: Greg Kroah-Hartman --- drivers/staging/rtl8723au/hal/usb_ops_linux.c | 1 - drivers/staging/rtl8723au/include/rtw_io.h | 4 ---- 2 files changed, 5 deletions(-) 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); -- 2.34.1