Commit 64cb819b authored by Jes Sorensen's avatar Jes Sorensen Committed by Greg Kroah-Hartman

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: default avatarJes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 45c64aa0
...@@ -827,8 +827,6 @@ void rtl8723au_set_intf_ops(struct rtw_adapter *padapter) ...@@ -827,8 +827,6 @@ void rtl8723au_set_intf_ops(struct rtw_adapter *padapter)
struct intf_hdl *pintf = &padapter->intf; struct intf_hdl *pintf = &padapter->intf;
struct _io_ops *pops = &pintf->io_ops; struct _io_ops *pops = &pintf->io_ops;
pintf->padapter = padapter;
memset((u8 *)pops, 0, sizeof(struct _io_ops)); memset((u8 *)pops, 0, sizeof(struct _io_ops));
pops->_read8 = &usb_read8; pops->_read8 = &usb_read8;
......
...@@ -136,8 +136,6 @@ struct io_req { ...@@ -136,8 +136,6 @@ struct io_req {
}; };
struct intf_hdl { struct intf_hdl {
struct rtw_adapter *padapter;
struct _io_ops io_ops; struct _io_ops io_ops;
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment