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 0cb84aed4533cfd401d62f26cfee944b53fb6834..90201299de93ea5925bf1fbd953f9168d3818126 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 9228bc655efce5f418e621fbd2c4e10a8d9cc8ef..acdef1db98b0fc1d9a15e20978b3052d829a6695 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,