staging: r8188eu: remove sreset_get_wifi_status of hal_ops structure
authorIvan Safonov <insafonov@gmail.com>
Sat, 3 Sep 2016 15:32:57 +0000 (22:32 +0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 12 Sep 2016 09:30:02 +0000 (11:30 +0200)
Driver does not use it.

Signed-off-by: Ivan Safonov <insafonov@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c
drivers/staging/rtl8188eu/include/hal_intf.h

index 10b679caa78fc1b3ed43120d4ddb2438c3a3e9ac..c123f4e2da1f5c8c3426f862922b4f8ee5573b48 100644 (file)
@@ -205,7 +205,6 @@ void rtl8188e_set_hal_ops(struct hal_ops *pHalFunc)
        pHalFunc->read_rfreg = &phy_query_rf_reg;
 
        pHalFunc->sreset_init_value = &sreset_init_value;
-       pHalFunc->sreset_get_wifi_status  = &sreset_get_wifi_status;
 }
 
 /*  */
index 6cbe58f0c9c8c249b5357803229ae4fd1159b2e5..c1d4879c12b459ec434fa429d47e5a5c9f3016fc 100644 (file)
@@ -166,7 +166,6 @@ struct hal_ops {
                              u32 BitMask);
 
        void (*sreset_init_value)(struct adapter *padapter);
-       u8 (*sreset_get_wifi_status)(struct adapter *padapter);
 
        void (*hal_reset_security_engine)(struct adapter *adapter);
 };