This function is defined but never used anywhere,
so just delete it.

Signed-off-by: Chaehyun Lim <chaehyun....@gmail.com>
---
 drivers/staging/wilc1000/host_interface.c | 35 -------------------------------
 drivers/staging/wilc1000/host_interface.h | 25 ----------------------
 2 files changed, 60 deletions(-)

diff --git a/drivers/staging/wilc1000/host_interface.c 
b/drivers/staging/wilc1000/host_interface.c
index 40001fa..99375ba 100644
--- a/drivers/staging/wilc1000/host_interface.c
+++ b/drivers/staging/wilc1000/host_interface.c
@@ -4765,41 +4765,6 @@ s32 host_int_set_pmkid_info(tstrWILC_WFIDrv *hWFIDrv, 
tstrHostIFpmkidAttr *pu8Pm
        return s32Error;
 }
 
-/**
- *  @brief              gets the cached the pmkid info
- *  @details    valid only in BSS STA mode if External Supplicant
- *                              support is enabled. This Function sets the 
PMKID in firmware
- *                              when host drivr receives the corresponding 
request from NDIS.
- *                              The firmware then includes theset PMKID in the 
appropriate
- *                              management frames
- *  @param[in,out] handle to the wifi driver,
- *                                message containing PMKID Info in the 
following format
- *|-----------------------------------------------------------------|
- *|NumEntries |        BSSID[1] | PMKID[1] |  ...      | BSSID[K] | PMKID[K] |
- *|-----------|------------|----------|-------|----------|----------|
- |        1    |               6        |   16         |  ...  |        6      
   |    16        |
- ||-----------------------------------------------------------------|
- *  @param[in]
- *  @return             Error code indicating success/failure
- *  @note
- *  @author            zsalah
- *  @date              8 March 2012
- *  @version           1.0
- */
-s32 host_int_get_pmkid_info(tstrWILC_WFIDrv *hWFIDrv, u8 *pu8PmkidInfoArray,
-                                   u32 u32PmkidInfoLen)
-{
-       s32 s32Error = 0;
-       tstrWID strWID;
-       /* tstrWILC_WFIDrv * pstrWFIDrv = (tstrWILC_WFIDrv *)hWFIDrv; */
-
-       strWID.u16WIDid = (u16)WID_PMKID_INFO;
-       strWID.enuWIDtype       = WID_STR;
-       strWID.s32ValueSize = u32PmkidInfoLen;
-       strWID.ps8WidVal = pu8PmkidInfoArray;
-
-       return s32Error;
-}
 
 /**
  *  @brief              sets the pass phrase
diff --git a/drivers/staging/wilc1000/host_interface.h 
b/drivers/staging/wilc1000/host_interface.h
index 8f77ccb..64a3de5 100644
--- a/drivers/staging/wilc1000/host_interface.h
+++ b/drivers/staging/wilc1000/host_interface.h
@@ -552,31 +552,6 @@ s32 host_int_add_tx_gtk(tstrWILC_WFIDrv *hWFIDrv, u8 
u8KeyLen, u8 *pu8TxGtk, u8
  */
 
 s32 host_int_set_pmkid_info(tstrWILC_WFIDrv *hWFIDrv, tstrHostIFpmkidAttr 
*pu8PmkidInfoArray);
-/**
- *  @brief              gets the cached the pmkid info
- *  @details    valid only in BSS STA mode if External Supplicant
- *                              support is enabled. This Function sets the 
PMKID in firmware
- *                              when host drivr receives the corresponding 
request from NDIS.
- *                              The firmware then includes theset PMKID in the 
appropriate
- *                              management frames
- *  @param[in,out] handle to the wifi driver,
- *
- *                                message containing PMKID Info in the 
following format
- *|-----------------------------------------------------------------|
- *|NumEntries |        BSSID[1] | PMKID[1] |  ...      | BSSID[K] | PMKID[K] |
- *|-----------|------------|----------|-------|----------|----------|
- |        1    |               6        |   16         |  ...  |        6      
   |    16        |
- ||-----------------------------------------------------------------|
- *  @param[in]
- *  @return             Error code indicating success/failure
- *  @note
- *  @author            zsalah
- *  @date              8 March 2012
- *  @version           1.0
- */
-
-s32 host_int_get_pmkid_info(tstrWILC_WFIDrv *hWFIDrv, u8 *pu8PmkidInfoArray,
-                                   u32 u32PmkidInfoLen);
 
 /**
  *  @brief              sets the pass phrase
-- 
2.6.0

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

Reply via email to