OSDN Git Service

staging: rtl8188eu: Remove unused function pointer ->interface_ps_func
authornavin patidar <navin.patidar@gmail.com>
Mon, 26 May 2014 16:05:18 +0000 (21:35 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 26 May 2014 17:38:05 +0000 (10:38 -0700)
Signed-off-by: navin patidar <navin.patidar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/hal/usb_halinit.c
drivers/staging/rtl8188eu/include/hal_intf.h

index 0cb84ae..9020129 100644 (file)
@@ -2272,7 +2272,5 @@ void rtl8188eu_set_hal_ops(struct adapter *adapt)
        halfunc->hal_xmit = &rtl8188eu_hal_xmit;
        halfunc->mgnt_xmit = &rtl8188eu_mgnt_xmit;
 
-       halfunc->interface_ps_func = &rtl8188eu_ps_func;
-
        rtl8188e_set_hal_ops(halfunc);
 }
index 9228bc6..acdef1d 100644 (file)
@@ -218,9 +218,6 @@ struct hal_ops {
        void    (*AntDivCompareHandler)(struct adapter *adapter,
                                        struct wlan_bssid_ex *dst,
                                        struct wlan_bssid_ex *src);
-       u8      (*interface_ps_func)(struct adapter *padapter,
-                                    enum hal_intf_ps_func efunc_id, u8 *val);
-
        s32     (*hal_xmit)(struct adapter *padapter,
                            struct xmit_frame *pxmitframe);
        s32 (*mgnt_xmit)(struct adapter *padapter,