diff --git a/drivers/staging/rtl8723au/hal/usb_ops_linux.c b/drivers/staging/rtl8723au/hal/usb_ops_linux.c index c861a791f43d..4b23e8a6e194 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 _io_ops *pops = &pintf->io_ops; pintf->padapter = padapter; - pintf->pintf_dev = adapter_to_dvobj(padapter); memset((u8 *)pops, 0, sizeof(struct _io_ops)); diff --git a/drivers/staging/rtl8723au/include/rtw_io.h b/drivers/staging/rtl8723au/include/rtw_io.h index 86ecbea77ed3..2abc24d429cd 100644 --- a/drivers/staging/rtl8723au/include/rtw_io.h +++ b/drivers/staging/rtl8723au/include/rtw_io.h @@ -137,10 +137,8 @@ struct io_req { struct intf_hdl { struct rtw_adapter *padapter; - struct dvobj_priv *pintf_dev;/* pointer to &(padapter->dvobjpriv); */ struct _io_ops io_ops; - }; struct reg_protocol_rd {