staging: rtl8188eu: usb_halinit.c: Remove ReadAdapterInfo8188EU()
authornavin patidar <navin.patidar@gmail.com>
Fri, 6 Jun 2014 17:24:33 +0000 (22:54 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 19 Jun 2014 22:32:10 +0000 (15:32 -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

index e60b5e9ee317798411d000a49e6ed7a3e4cb9a1b..316c82192df77360d063bed9e08ab7a9b12e7be9 100644 (file)
@@ -1187,7 +1187,7 @@ static void _ReadRFType(struct adapter *Adapter)
        haldata->rf_chip = RF_6052;
 }
 
-static int _ReadAdapterInfo8188EU(struct adapter *Adapter)
+static void _ReadAdapterInfo8188EU(struct adapter *Adapter)
 {
        u32 start = jiffies;
 
@@ -1197,13 +1197,6 @@ static int _ReadAdapterInfo8188EU(struct adapter *Adapter)
        _ReadPROMContent(Adapter);
 
        MSG_88E("<==== %s in %d ms\n", __func__, rtw_get_passing_time_ms(start));
-
-       return _SUCCESS;
-}
-
-static void ReadAdapterInfo8188EU(struct adapter *Adapter)
-{
-       _ReadAdapterInfo8188EU(Adapter);
 }
 
 #define GPIO_DEBUG_PORT_NUM 0
@@ -2249,7 +2242,7 @@ void rtl8188eu_set_hal_ops(struct adapter *adapt)
 
        halfunc->init_default_value = &rtl8188eu_init_default_value;
        halfunc->intf_chip_configure = &rtl8188eu_interface_configure;
-       halfunc->read_adapter_info = &ReadAdapterInfo8188EU;
+       halfunc->read_adapter_info = &_ReadAdapterInfo8188EU;
 
        halfunc->SetHwRegHandler = &SetHwReg8188EU;
        halfunc->GetHwRegHandler = &GetHwReg8188EU;