staging: rtl8723au: Remove wrapper around rtl8723au_set_intf_ops()
authorJes Sorensen <Jes.Sorensen@redhat.com>
Sat, 26 Apr 2014 16:55:20 +0000 (18:55 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 26 Apr 2014 17:16:17 +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/include/usb_ops.h
drivers/staging/rtl8723au/os_dep/usb_intf.c

index 55d1380..2195054 100644 (file)
@@ -46,7 +46,6 @@ void rtl8723au_set_hw_type(struct rtw_adapter *padapter);
 #define hal_set_hw_type rtl8723au_set_hw_type
 
 void rtl8723au_set_intf_ops(struct _io_ops *pops);
-#define usb_set_intf_ops rtl8723au_set_intf_ops
 
 void rtl8723au_recv_tasklet(void *priv);
 
index d71641d..9f819ea 100644 (file)
@@ -623,7 +623,7 @@ static struct rtw_adapter *rtw_usb_if1_init(struct dvobj_priv *dvobj,
        padapter->intf_stop = &usb_intf_stop;
 
        /* step init_io_priv */
-       rtw_init_io_priv23a(padapter, usb_set_intf_ops);
+       rtw_init_io_priv23a(padapter, rtl8723au_set_intf_ops);
 
        /* step read_chip_version */
        rtw_hal_read_chip_version23a(padapter);