staging: rtl8723au: Remove unused struct rtw_adapter * from struct io_priv
authorJes Sorensen <Jes.Sorensen@redhat.com>
Sat, 26 Apr 2014 16:55:28 +0000 (18:55 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 26 Apr 2014 17:16:18 +0000 (10:16 -0700)
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 a785bb5c2183d80fd81446d1e4c9b57279f4ec79..1a67255887afd03b0679bdbffa0f492347aa62ba 100644 (file)
@@ -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);
 
index f11557cbdfd83219263edfd9c46177e1361f21e8..f0f97b447d9e2bf131ddbd5abd25e4b8026d37a5 100644 (file)
@@ -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);