And remove two one-line wrappers.

Signed-off-by: Ivan Safonov <insafo...@gmail.com>
---
 drivers/staging/rtl8188eu/hal/hal_intf.c         | 6 ------
 drivers/staging/rtl8188eu/hal/rtl8188eu_led.c    | 2 +-
 drivers/staging/rtl8188eu/hal/usb_halinit.c      | 1 -
 drivers/staging/rtl8188eu/include/hal_intf.h     | 1 -
 drivers/staging/rtl8188eu/include/rtl8188e_led.h | 1 -
 5 files changed, 1 insertion(+), 10 deletions(-)

diff --git a/drivers/staging/rtl8188eu/hal/hal_intf.c 
b/drivers/staging/rtl8188eu/hal/hal_intf.c
index 805f3ad..f03da1c 100644
--- a/drivers/staging/rtl8188eu/hal/hal_intf.c
+++ b/drivers/staging/rtl8188eu/hal/hal_intf.c
@@ -43,12 +43,6 @@ void rtw_hal_sw_led_init(struct adapter *adapt)
                adapt->HalFunc.InitSwLeds(adapt);
 }
 
-void rtw_hal_sw_led_deinit(struct adapter *adapt)
-{
-       if (adapt->HalFunc.DeInitSwLeds)
-               adapt->HalFunc.DeInitSwLeds(adapt);
-}
-
 u32 rtw_hal_power_on(struct adapter *adapt)
 {
        if (adapt->HalFunc.hal_power_on)
diff --git a/drivers/staging/rtl8188eu/hal/rtl8188eu_led.c 
b/drivers/staging/rtl8188eu/hal/rtl8188eu_led.c
index d9e677e..694ce59 100644
--- a/drivers/staging/rtl8188eu/hal/rtl8188eu_led.c
+++ b/drivers/staging/rtl8188eu/hal/rtl8188eu_led.c
@@ -80,7 +80,7 @@ void rtl8188eu_InitSwLeds(struct adapter *padapter)
 
 /*     Description: */
 /*             DeInitialize all LED_819xUsb objects. */
-void rtl8188eu_DeInitSwLeds(struct adapter *padapter)
+void rtw_hal_sw_led_deinit(struct adapter *padapter)
 {
        struct led_priv *ledpriv = &(padapter->ledpriv);
 
diff --git a/drivers/staging/rtl8188eu/hal/usb_halinit.c 
b/drivers/staging/rtl8188eu/hal/usb_halinit.c
index bbc385e..a4c6f06 100644
--- a/drivers/staging/rtl8188eu/hal/usb_halinit.c
+++ b/drivers/staging/rtl8188eu/hal/usb_halinit.c
@@ -2073,7 +2073,6 @@ void rtl8188eu_set_hal_ops(struct adapter *adapt)
        halfunc->init_recv_priv = &rtl8188eu_init_recv_priv;
        halfunc->free_recv_priv = &rtl8188eu_free_recv_priv;
        halfunc->InitSwLeds = &rtl8188eu_InitSwLeds;
-       halfunc->DeInitSwLeds = &rtl8188eu_DeInitSwLeds;
 
        rtl8188e_set_hal_ops(halfunc);
 }
diff --git a/drivers/staging/rtl8188eu/include/hal_intf.h 
b/drivers/staging/rtl8188eu/include/hal_intf.h
index 58b4ee3..cc8fadd 100644
--- a/drivers/staging/rtl8188eu/include/hal_intf.h
+++ b/drivers/staging/rtl8188eu/include/hal_intf.h
@@ -155,7 +155,6 @@ struct hal_ops {
        void    (*free_recv_priv)(struct adapter *padapter);
 
        void    (*InitSwLeds)(struct adapter *padapter);
-       void    (*DeInitSwLeds)(struct adapter *padapter);
 
        void    (*dm_init)(struct adapter *padapter);
        void    (*read_chip_version)(struct adapter *padapter);
diff --git a/drivers/staging/rtl8188eu/include/rtl8188e_led.h 
b/drivers/staging/rtl8188eu/include/rtl8188e_led.h
index fca6d8c..ca71a0f 100644
--- a/drivers/staging/rtl8188eu/include/rtl8188e_led.h
+++ b/drivers/staging/rtl8188eu/include/rtl8188e_led.h
@@ -23,7 +23,6 @@
 /*  Interface to manipulate LED objects. */
 /*  */
 void rtl8188eu_InitSwLeds(struct adapter *padapter);
-void rtl8188eu_DeInitSwLeds(struct adapter *padapter);
 void SwLedOn(struct adapter *padapter, struct LED_871x *pLed);
 void SwLedOff(struct adapter *padapter, struct LED_871x *pLed);
 
-- 
2.7.3

_______________________________________________
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Reply via email to