From 64cb819b06b79bf9b47d9bd6adc5d074b9336d00 Mon Sep 17 00:00:00 2001 From: Jes Sorensen Date: Sat, 26 Apr 2014 18:55:32 +0200 Subject: [PATCH] staging: rtl8723au: Remove unused rtw_adapter * from struct intf_hdl struct intf_hdl is now purely a wrapper around struct _io_ops, so we can get rid of it in the next patch. Signed-off-by: Jes Sorensen Signed-off-by: Greg Kroah-Hartman --- drivers/staging/rtl8723au/hal/usb_ops_linux.c | 2 -- drivers/staging/rtl8723au/include/rtw_io.h | 2 -- 2 files changed, 4 deletions(-) diff --git a/drivers/staging/rtl8723au/hal/usb_ops_linux.c b/drivers/staging/rtl8723au/hal/usb_ops_linux.c index 29e67a8e85cb..b5332888226c 100644 --- a/drivers/staging/rtl8723au/hal/usb_ops_linux.c +++ b/drivers/staging/rtl8723au/hal/usb_ops_linux.c @@ -827,8 +827,6 @@ void rtl8723au_set_intf_ops(struct rtw_adapter *padapter) struct intf_hdl *pintf = &padapter->intf; struct _io_ops *pops = &pintf->io_ops; - pintf->padapter = padapter; - memset((u8 *)pops, 0, sizeof(struct _io_ops)); pops->_read8 = &usb_read8; diff --git a/drivers/staging/rtl8723au/include/rtw_io.h b/drivers/staging/rtl8723au/include/rtw_io.h index 7b710d748516..54f930deda3c 100644 --- a/drivers/staging/rtl8723au/include/rtw_io.h +++ b/drivers/staging/rtl8723au/include/rtw_io.h @@ -136,8 +136,6 @@ struct io_req { }; struct intf_hdl { - struct rtw_adapter *padapter; - struct _io_ops io_ops; }; -- 2.20.1