staging: wilc1000: remove CoreConfiguratorDeInit
authorChaehyun Lim <chaehyun.lim@gmail.com>
Tue, 22 Sep 2015 13:47:37 +0000 (22:47 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 29 Sep 2015 00:31:19 +0000 (02:31 +0200)
This patch removes CoreConfiguratorDeInit function, which is not doing
anything else except printing a PRINT_D message and returning a
s32Error. It is also removed the codes that is calling this function.

Signed-off-by: Chaehyun Lim <chaehyun.lim@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/coreconfigurator.c
drivers/staging/wilc1000/coreconfigurator.h
drivers/staging/wilc1000/host_interface.c

index e563c9bca8c47ad48ac3c9eefd9cecd652cb1034..9676044f233b4dfc9e2f5dad46991ed1bb141d0c 100644 (file)
@@ -700,26 +700,6 @@ s32 DeallocateSurveyResults(wid_site_survey_reslts_s *pstrSurveyResults)
 }
 #endif
 
-/**
- *  @brief              Deinitializes the Core Configurator
- *  @details
- *  @return     Error code indicating success/failure
- *  @note
- *  @author    mabubakr
- *  @date              1 Mar 2012
- *  @version   1.0
- */
-
-s32 CoreConfiguratorDeInit(void)
-{
-       s32 s32Error = 0;
-
-       PRINT_D(CORECONFIG_DBG, "CoreConfiguratorDeInit()\n");
-
-
-       return s32Error;
-}
-
 /*Using the global handle of the driver*/
 extern wilc_wlan_oup_t *gpstrWlanOps;
 /**
index 88a697beee2dfcad741f46490bf4c999e41493ee..a255e45fa6267f0ea46d014330c0ffc68a0b9b49 100644 (file)
@@ -156,8 +156,6 @@ typedef struct wid_site_survey_reslts {
 } wid_site_survey_reslts_s;
 #endif
 
-s32 CoreConfiguratorDeInit(void);
-
 s32 SendConfigPkt(u8 u8Mode, tstrWID *pstrWIDs,
                  u32 u32WIDsCount, bool bRespRequired, u32 drvHandler);
 s32 ParseNetworkInfo(u8 *pu8MsgBuffer, tstrNetworkInfo **ppstrNetworkInfo);
index f7f4c8d75a32da530413c6ef6d3d963c1588c5dd..e2ae9abed2fed46c5454591fa978394a568e10aa 100644 (file)
@@ -6527,8 +6527,6 @@ s32 host_int_deinit(tstrWILC_WFIDrv *hWFIDrv)
 
                pstrWFIDrv->strWILC_UsrScanReq.pfUserScanResult = NULL;
        }
-       /*deinit configurator and simulator*/
-       CoreConfiguratorDeInit();
 
        pstrWFIDrv->enuHostIFstate = HOST_IF_IDLE;