summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Safonov <insafonov@gmail.com>2016-09-03 15:32:57 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-09-12 09:30:02 (GMT)
commit35e224f3fd35627022b102fec4f133413b14bcde (patch)
tree9952299d18f524a79f383b2c05906c8df2d4e4cd
parent685adf8aa3c008111b2808b335b64e26c13c9173 (diff)
downloadlinux-35e224f3fd35627022b102fec4f133413b14bcde.tar.xz
staging: r8188eu: remove sreset_get_wifi_status of hal_ops structure
Driver does not use it. Signed-off-by: Ivan Safonov <insafonov@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c1
-rw-r--r--drivers/staging/rtl8188eu/include/hal_intf.h1
2 files changed, 0 insertions, 2 deletions
diff --git a/drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c b/drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c
index 10b679c..c123f4e 100644
--- a/drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c
+++ b/drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c
@@ -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;
}
/* */
diff --git a/drivers/staging/rtl8188eu/include/hal_intf.h b/drivers/staging/rtl8188eu/include/hal_intf.h
index 6cbe58f..c1d4879 100644
--- a/drivers/staging/rtl8188eu/include/hal_intf.h
+++ b/drivers/staging/rtl8188eu/include/hal_intf.h
@@ -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);
};