staging: rtl8723au: Remove unused rtw_adapter * from struct intf_hdl
authorJes Sorensen <Jes.Sorensen@redhat.com>
Sat, 26 Apr 2014 16:55:32 +0000 (18:55 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 26 Apr 2014 17:16:19 +0000 (10:16 -0700)
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 <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723au/hal/usb_ops_linux.c
drivers/staging/rtl8723au/include/rtw_io.h

index 29e67a8e85cb58d05beaca0065dd205b0b51f032..b5332888226c38c05f5c624b0cc8f6b5eedb83be 100644 (file)
@@ -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;
index 7b710d7485164faa9df94e81030ee9a41b5ece27..54f930deda3c4be4e95097fde5c99fd28dbc242c 100644 (file)
@@ -136,8 +136,6 @@ struct io_req {
 };
 
 struct intf_hdl {
-       struct rtw_adapter *padapter;
-
        struct _io_ops  io_ops;
 };
 
This page took 0.028677 seconds and 5 git commands to generate.